[konsole] [Bug 405612] ctrl+L or ctrl+shift+k does not clear /usr/bin/screen correctly

Mariusz Glebocki bugzilla_noreply at kde.org
Fri Mar 22 07:30:31 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=405612

Mariusz Glebocki <mglb at arccos-1.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
                 CC|                            |mglb at arccos-1.net
           See Also|                            |https://bugs.kde.org/show_b
                   |                            |ug.cgi?id=384218
     Ever confirmed|0                           |1

--- Comment #3 from Mariusz Glebocki <mglb at arccos-1.net> ---
Ctrl+L/`clear`: described/reported in a bug from Egmont's post, so I'll remove
it from the title, as the second part is more unique. I'll try to look at it
this weekend, as it annoys me too.

Ctrl+Shift+K:
`screen` is kind of terminal emulator inside terminal emulator (Konsole in this
case). Ctrl+Shift+K clears internal Konsole buffers and display buffer #1.
`screen`, like e.g vim or nano, works on dedicated display buffer #2, where
clearing buffers would be pointless, as "full-screen" applications assume the
characters they put on display will be there until they change them. Even if it
would be cleared, `screen` redraws everything exactly as it was in nearest
opportunity (like screen change).

The way to make it work is to detect the `screen` is running (easy, already
done to display program name in tab title) and send clearing escape sequences
to it. There could be configurable list of programs which can receive clearing
sequences on display buffer #2 (with e.g. screen, tmux by default) somewhere is
settings.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list