[sixel_shutdown] don't disable sixel scrolling on shutdown #1533

This commit is contained in:
nick black 2021-04-14 08:26:27 -04:00
parent 81370ba311
commit 15c330c580
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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);
}