Closed kjirou closed 4 years ago
Would you be able to submit a pull request with a failing test? :)
@sindresorhus Pull-requested!
Pull-requireted again with #16
@issuehunt has funded $60.00 to this issue. See it on IssueHunt
// @stroncium This one has a bounty too, in case you're interested ;)
Haha, don't think of me as so materialistic. I actually don't think I will be able to even use bounties except funding some more issues(don't think paypal will allow me to accept any money due to my country of residence).
Anyhow, I actually wrote all the code for this issue already. The problem is the code is much bigger than whole this library as it required implementing first proper escape sequence tokenizer, then a virtual machine to process SGR
commands, compare states and a compiler of state changes to commands which introduce them, plus I'd like to also implement a few other escape sequences which would make sense in terms of string manipulations. I also reckon this code would allow to implement a much simpler and correct version of wrap-ansi
too. So, I'm thinking what to do with this code now.
@sindresorhus has rewarded $54.00 to @tiagodanin. See it on IssueHunt
Hello, the following behaviors looked like a bug.
As a supplement, the example described in the README appeared to be working properly.
Thanks.
Environments
IssueHunt Summary
#### [ tiagodanin](https://issuehunt.io/u/tiagodanin) has been rewarded. ### Backers (Total: $60.00) - [ issuehunt](https://issuehunt.io/u/issuehunt) ($60.00) ### Submitted pull Requests - [#25 [WIP] Get all ansi escape sequences](https://issuehunt.io/r/chalk/slice-ansi/pull/25) --- ### Tips - Checkout the [Issuehunt explorer](https://issuehunt.io/r/chalk/slice-ansi/) to discover more funded issues. - Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds. --- IssueHunt has been backed by the following sponsors. [Become a sponsor](https://issuehunt.io/membership/members)