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

ninj...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT A BUG
             Status|REPORTED                    |RESOLVED
                 CC|                            |ninj...@gmail.com

--- Comment #1 from ninj...@gmail.com ---
CSI 3 J comes from xterm, where it only clears the scrollback buffer. VTE
(gnome-terminal, xfce-terminal, ...) behaves likewise. Putty also follows that
behavior.

See
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Functions-using-CSI-_-ordered-by-the-final-character_s_
:

CSI Ps J  Erase in Display (ED), VT100.
            Ps = 0  ⇒  Erase Below (default).
            Ps = 1  ⇒  Erase Above.
            Ps = 2  ⇒  Erase All.
            Ps = 3  ⇒  Erase Saved Lines, xterm.

So, CSI 2 J erases all the screen, but not the scrollback buffer, while CSI 3 J
erases the scrollback buffer, but not the screen.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to