From 15c330c580a2859c882e0afaaf17e358bec464a9 Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 14 Apr 2021 08:26:27 -0400 Subject: [PATCH] [sixel_shutdown] don't disable sixel scrolling on shutdown #1533 --- src/lib/sixel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/sixel.c b/src/lib/sixel.c index 6d978b9f9..2157b245a 100644 --- a/src/lib/sixel.c +++ b/src/lib/sixel.c @@ -554,6 +554,8 @@ int sixel_wipe(const notcurses* nc, sprixel* s, int ycell, int xcell){ return -1; } +// 80 (sixel scrolling) is enabled by default. 8452 is not. XTSAVE/XTRESTORE +// would be better, where they're supported. int sixel_shutdown(int fd){ - return tty_emit("\e[?80;8452l", fd); + return tty_emit("\e[?8452l", fd); }