2 contains color/monchrome schemes for tty-mines.
7 #define SGR(color, string) "\033[" color "m" string "\033[0m"
52 char* emoticons
[NUM_EMOT
];
61 struct minescheme symbols_mono
= {
62 .number
= {" ", "1", "2", "3", "4", "5", "6", "7", "8"},
64 .field_flagged
= "▕▀",
65 .field_question
= "?",
71 .emoticons
= {":)", ":(", ":D", ":o"},
73 .border
= {{"╔═","══","═╗"},
82 struct minescheme symbols_col1
= {
93 .field_flagged
= SGR(GREY
,"▕\033["BRED
"m▀"),
94 .field_question
= "?",
96 .mine_death
= SGR(RED
,"*"),
100 .emoticons
= {":)", ":(", ":D", ":o"},
102 .border
= {{"╔═","══","═╗"},
111 struct minescheme symbols_doublewidth
= {
113 DEC Special Graphics Character Set:
114 http://vt100.net/docs/vt220-rm/table2-4.html
115 Dynamically Redefinable Character Set:
116 https://vt100.net/docs/vt220-rm/chapter4.html#S4.16 */
126 .field_closed
= "\x61",
127 .field_flagged
= SGR(BOLD
,"\033O!"),
128 .field_question
= SGR(BOLD
,"?"),
129 .mine_normal
= SGR(BOLD
,"*"),
130 .mine_death
= SGR(BOLD
,"#"),
131 .mine_wrongf
= SGR(BOLD
,"/"),
132 .mine_wrongq
= SGR(BOLD
,"\\"),
134 .emoticons
= {":)", ":(", ":D", ":\033No"},
136 .border
= {{"\033#6\x6c","\x71","\x6b"},
137 {"\033#6\x78"," ","\x78"},
138 {"\033[?25l\033#6\x74","\x71","\x75"},
139 {"\033#6\x78"," ","\x78"},
140 {"\033#6\x6d","\x71","\x6a"}},
143 .init_seq
= "\033P0;1;0;4;1;1{P" /*config for DRCS "P": 7x10,erase-all*/
144 "??~^^^^/??N????\033\\" /* flag at '!' resembling ▕▀ */
145 "\033(0\033*B\033+P" /* G0=Graphics,G2=ASCII,G3="P" */
146 "\x0f" /* invoke G0 (locking shift) */
147 "\033[?3l", /* disable 132 column mode (DECCOLM) */
148 .reset_seq
= "\033(B" /* reset to DEC Multinational Character Set */
149 "\033[?3h", /* reenable DECCOLM (WARN: unconditionally!) */