question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support clearing via ESC[2J

See original GitHub issue

Not 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:closed
  • Created 9 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
rburnscommented, Jan 26, 2017

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.

0reactions
earthman1commented, Nov 1, 2019

Please see the new comments on #25 which will show that this issue is probably not related.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found