From eb19bb3fd6a81cddbbccacadcd0bc05a613116ad Mon Sep 17 00:00:00 2001 From: aristocratos Date: Mon, 8 Nov 2021 19:39:16 +0100 Subject: [PATCH] Fixed: Restore all escape seq mouse modes on exit --- src/btop_tools.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/btop_tools.hpp b/src/btop_tools.hpp index c9f9b74..218fbca 100644 --- a/src/btop_tools.hpp +++ b/src/btop_tools.hpp @@ -100,7 +100,7 @@ namespace Term { const string clear_end = Fx::e + "0J"; const string clear_begin = Fx::e + "1J"; const string mouse_on = Fx::e + "?1002h" + Fx::e + "?1015h" + Fx::e + "?1006h"; //? Enable reporting of mouse position on click and release - const string mouse_off = Fx::e + "?1002l"; + const string mouse_off = Fx::e + "?1002l" + Fx::e + "?1015l" + Fx::e + "?1006l"; const string mouse_direct_on = Fx::e + "?1003h"; //? Enable reporting of mouse position at any movement const string mouse_direct_off = Fx::e + "?1003l"; const string sync_start = Fx::e + "?2026h"; //? Start of terminal synchronized output