From aeeb6ccf69ef51cdaa69c4210decc2ae8fc7dbda Mon Sep 17 00:00:00 2001 From: Matan Ziv-Av Date: Fri, 25 Feb 2022 18:02:08 +0200 Subject: [PATCH] Exchange meaning of `CSI?80h` and `CSI?80l` `h` disables sixel scrolling and `l` enables it. --- src/Vt102Emulation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Vt102Emulation.cpp b/src/Vt102Emulation.cpp index fe081891..94b74748 100644 --- a/src/Vt102Emulation.cpp +++ b/src/Vt102Emulation.cpp @@ -1165,8 +1165,8 @@ void Vt102Emulation::processToken(int token, int p, int q) case token_csi_pr('s', 67) : /* IGNORED: DECBKM */ break; //XTERM case token_csi_pr('r', 67) : /* IGNORED: DECBKM */ break; //XTERM - case token_csi_pr('h', 80) : m_SixelScrolling = true; break; //XTERM - case token_csi_pr('l', 80) : m_SixelScrolling = false; break; //XTERM + case token_csi_pr('h', 80) : m_SixelScrolling = false; break; + case token_csi_pr('l', 80) : m_SixelScrolling = true; break; // XTerm defines the following modes: // SET_VT200_MOUSE 1000