Support clearing via ESC[2J
See original GitHub issueNot sure if this is the right place for this issue, but is similar to #12, though I can’t think of a good workaround in case this is also tricky to support.
Some of my build tools display progress bars or spinners (\
to |
to /
), and attempt to clear the “terminal” before redrawing, but instead generate a lot of redundant output when run through something like atom-build.
Issue Analytics
- State:
- Created 9 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Windows console "ESC[2J" doesn't really "clear" the screen
A console window has a "buffer" holding the visible characters plus the scrollback, which cls clears entirely, presumably taking more time than ...
Read more >how to bind the "Ctrl-l" to empty the screen instead of clearing ...
I use fish with tmux, fish provides a default binding for "C-l": bind \cl 'clear; commandline -f repaint' but it will clear the...
Read more >console_codes(4) - Linux manual page - man7.org
Linux supports a terminfo(5) database of terminal capabilities. Rather than emitting console ... ESC [ 2 J: erase whole display. ESC [ 3...
Read more >6. Debugging with Dynamic C - FTP Directory Listing
Dynamic C comes with robust capabilities to make debugging faster and easier. The debugger is highly configurable; it is easy to enable or...
Read more >User's Guide - Gallagher & Robertson AS
X.25 and TGX support in available via Atlantis, Cirel or Eicon cards or ... screen whenever the screen is cleared by the host...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
yes, I think this issue could be closed, as well as https://github.com/rburns/ansi-to-html/issues/16 I don’t see any reasonable way to address this. It may be worthwhile to ensure that codes we can’t act on are elided.
This issue may also be roughly the same thing https://github.com/rburns/ansi-to-html/issues/25 though, it’s been long enough, I don’t remember the details right now.
Please see the new comments on #25 which will show that this issue is probably not related.