gs-extensions-drop-down-terminal
gs-extensions-drop-down-terminal copied to clipboard
Unable to scroll up during output
With most terminal emulators I have used (e.g. GNOME terminal), when running a program that outputs to the terminal, it is possible to scroll up to view previous output without fresh output causing the scroll to return to the bottom. With the drop-down terminal this is not possible.
To reproduce:
- Run a program that generates lots of output (e.g.
tail -f /var/log/syslog
) - Scroll up
Expected situation: it should be possible to read the previous output without being interrupted any time new output is generated.
Interesting, I've been bothered myself by this behavior. I should have a look at gnome-terminal to see how this is handled.
- When the terminal is completely scrolled down: Autoscroll is enabled
- When the terminal is not completely scrolled down: Autoscroll is disabled.
This has to be checked before appending any new output, so you'd have to:
- Check the above condition
- Change text
- If the condition was true, scroll.
Bug #181 seems to be a duplicate of this bug.