You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It makes absolutely no sense to not display data that I need to display, I mean any information; User must be able to reach it by scrolling, it really makes no sense, so please tell me is there a way to disable that "feature" and log all I need to and not only what this library allows to?
The text was updated successfully, but these errors were encountered:
It absolutely does makes sense. Scrollback is not a feature of terminals; it's a feature of terminal emulators. This is an important distinction. Whatever app you run to "get a terminal" has its own custom implementation of logic to retain previous output and give you a means to view it (scroll, search, etc.). This is an important distinction, because from the perspective of the terminal, that area doesn't exist. Thus, a library like this one that updates terminal text can't update those lines; it would merely spew a bunch of random intermediate state into the scrollback
E.g. if your terminal is 2 lines tall, and you're trying to update 4 lines:
4 lines would be written, but 2 of them would be pushed "off screen" and captured by your emulator
on the next update, it would replace 2 lines with 4, pushing 2 more out of bounds
rinse & repeat for all updates
Say you were incrementally adding 3 dots to each line, the editor's scrollback would look like:
first
second
first.
second.
first..
second..
first...
second...
third... # <-- visible area starts here
fourth...
It makes absolutely no sense to not display data that I need to display, I mean any information; User must be able to reach it by scrolling, it really makes no sense, so please tell me is there a way to disable that "feature" and log all I need to and not only what this library allows to?
The text was updated successfully, but these errors were encountered: