diff options
author | Manuel Schölling <manuel.schoelling@gmx.de> | 2017-01-13 21:07:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 11:54:02 +0100 |
commit | aabd31c421ddc730edf6d89c4ed3885e4fca5e30 (patch) | |
tree | 793c32e81be9aa92e693f0ff0fe9cb465a15886f /drivers/tty/serial | |
parent | bcd375f7f71f7106c97516bf5395149954ef8810 (diff) | |
download | lwn-aabd31c421ddc730edf6d89c4ed3885e4fca5e30.tar.gz lwn-aabd31c421ddc730edf6d89c4ed3885e4fca5e30.zip |
console: Add persistent scrollback buffers for all VGA consoles
Add a scrollback buffers for each VGA console. The benefit is that
the scrollback history is not flushed when switching between consoles
but is persistent.
The buffers are allocated on demand when a new console is opened.
This breaks tools like clear_console that rely on flushing the
scrollback history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.
Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Reviewed-by: Andrey Utkin <andrey_utkin@fastmail.com>
Tested-by: Andrey Utkin <andrey_utkin@fastmail.com>
Tested-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
0 files changed, 0 insertions, 0 deletions