3 ms·
Can it though? How can a program manipulate the scrollback buffer of the terminal that it's running in? Other than by printing more output. But once it's update
by mprovost 7y ago
Can it though? How can a program manipulate the scrollback buffer of the terminal that it's running in? Other than by printing more output. But once it's updated the current line, it can't go back and add more lines - those lines have already been printed on the scroll.
- Dylan16807 7y agoEven if it had no way to communicate the lines to the local terminal, it could still load them and handle the scrollback itself, locally. I think that's what the eventual plan is, too. But it wouldn't be exceptionally difficult to figure out some way to stuff lines into the scroll buffer. Especially if you got a mosh-aware terminal.