-
Pygmentize wraps stdout with colorama on Windows. This ensures correct color output on the console but when output is redirected to a pipe it strips the ansi sequences by default. This prevents me fro…
-
It would be nice to have an option to preserve ANSI escape sequences in the main view, similar to `less`'s `-r` or `-R` flags. Currently it seems like the ESC characters are stripped, leaving only thi…
-
I'm trying to use this version of git-forest in combination with TamaMcGlinn/flog-forest in neovim. But the colors do not seem to work any more then.
Are the colors printed as Ansi Escape characters…
-
When executing certain commands, at least `jira init`, `jira issue create` and `jira epic create`, raw escape sequences are visible.
E.g.
```
$ jira init
? Installation type: [Use arrows to mo…
-
When comparing the results of
```
MANPAGER=m man ls
```
and
```
MANPAGER=less man ls
```
`m` didn't catch up with `less` on escape codes yet :) I have been looking for a solution to this, but no t…
-
今天在看 [ant-design](https://github.com/ant-design/ant-design/blob/master/scripts/prettier.js) 源码的时候,发现了一条很有意思的代码:
```js
console.log(`\x1b[34m ${file} is prettier`);
```
复制到命令行发现是打印出了带有颜色的输出,所以稍微学习了一…
-
Given that this library already recognizes ansi escape sequences, could it offer a function to split out ansi escape sequences rather than stripping them? For instance, an iterator that alternates bet…
-
In case this is useful for someone, here is a simple way to display a plot in a GUI textbox, i.e. ttkText(). Basically, the ansi codes need to be stripped out as below:
```
def escape_ansi(line):…
-
Looking at the code, it doesn't look too hard to properly implement a third way of handling things. My suggestion is, to use a macro:
# define USE_NCURSES
This may be used to enable ncurses based sup…
-
## CVE-2021-3807 - High Severity Vulnerability
Vulnerable Libraries - ansi-regex-3.0.0.tgz, ansi-regex-5.0.0.tgz, ansi-regex-4.1.0.tgz
ansi-regex-3.0.0.tgz
Regular expression for matching ANSI esc…