From 392b85a1788edd84f99ea7f8359b59aba8c46bd3 Mon Sep 17 00:00:00 2001 From: girst Date: Mon, 30 Apr 2018 17:43:04 +0200 Subject: [PATCH] shave off 4 bytes in DEC scheme (II) GNOME-Terminal is also missing DECDWL and we are using SS2 somewhere else too; so this whole thing was moot and I'm doing it. This reverts commit b7cb4eb688ac83ae91e8a63e7ba18c81e2a4d2c3. --- schemes.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/schemes.h b/schemes.h index 25a7765..e9c7370 100644 --- a/schemes.h +++ b/schemes.h @@ -131,7 +131,7 @@ struct minescheme symbols_doublewidth = { .mine_wrongf = SGR(BOLD,"/"), .mine_wrongq = SGR(BOLD,"\\"), - .emoticons = {":)", ":(", ":D", "\033(B:o\033(0"}, + .emoticons = {":)", ":(", ":D", ":\033No"}, .border = {{"\033#6\x6c","\x71","\x6b"}, {"\033#6\x78"," ","\x78"}, @@ -142,7 +142,8 @@ struct minescheme symbols_doublewidth = { .cell_width = 1, .init_seq = "\033P0;1;0;4;1;1{P" /*config for DRCS "P": 7x10,erase-all*/ "??~^^^^/??N????\033\\" /* flag at '!' resembling ▕▀ */ - "\033(0\033+P\x0f" /*G0=Graphics,G3="P",lock charset to G0*/ + "\033(0\033*B\033+P" /* G0=Graphics,G2=ASCII,G3="P" */ + "\x0f" /* invoke G0 (locking shift) */ "\033[?3l", /* disable 132 column mode (DECCOLM) */ .reset_seq = "\033(B" /* reset to DEC Multinational Character Set */ "\033[?3h", /* reenable DECCOLM (WARN: unconditionally!) */ -- 2.39.3