From b7cb4eb688ac83ae91e8a63e7ba18c81e2a4d2c3 Mon Sep 17 00:00:00 2001 From: girst Date: Mon, 30 Apr 2018 04:31:04 +0200 Subject: [PATCH] Revert "shave off 4 bytes in DEC scheme" while that was a correct change, gnome-terminal and mlterm don't support this escape sequence (xterm does) :( This reverts commit 0dc199da7121ed4595229bb3fe99dd8891f59d8a. --- schemes.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/schemes.h b/schemes.h index e9c7370..25a7765 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", ":\033No"}, + .emoticons = {":)", ":(", ":D", "\033(B:o\033(0"}, .border = {{"\033#6\x6c","\x71","\x6b"}, {"\033#6\x78"," ","\x78"}, @@ -142,8 +142,7 @@ 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*B\033+P" /* G0=Graphics,G2=ASCII,G3="P" */ - "\x0f" /* invoke G0 (locking shift) */ + "\033(0\033+P\x0f" /*G0=Graphics,G3="P",lock charset to G0*/ "\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