2 contains color/monchrome schemes for tty-mines.
7 #define SGR(color, string) "\033[" color "m" string "\033[0m"
47 char* mouse_highlight
;
53 char* emoticons
[NUM_EMOT
];
58 /* length of the SGR() in front of '!' and '?' for cursor highlight: */
64 struct minescheme symbols_mono
= {
65 .number
= {" ", "1", "2", "3", "4", "5", "6", "7", "8"},
67 .field_flagged
= SGR(REV
,"!"),
68 .field_question
= SGR(REV
,"?"),
69 .mouse_highlight
= "▓▓",
75 .emoticons
= {":)", ":(", ":D", ":o"},
77 .border
= {{"╔═","══","═╗"},
87 struct minescheme symbols_col1
= {
98 .field_flagged
= SGR(GREY
,"▕\033["BRED
"m▀"),
99 .field_question
= "?",
100 .mouse_highlight
= "▓▓",
102 .mine_death
= SGR(RED
,"*"),
106 .emoticons
= {":)", ":(", ":D", ":o"},
108 .border
= {{"╔═","══","═╗"},
117 struct minescheme symbols_doublewidth
= {
118 /* vt220 multilingual character set,
119 see http://vt100.net/docs/vt220-rm/table2-4.html */
129 .field_closed
= "\x61",
130 .field_flagged
= SGR(REV
,SGR(BOLD
,"!")),
131 .field_question
= SGR(BOLD
,"?"),
132 .mouse_highlight
= SGR(BLINK
,"@"),
133 .mine_normal
= SGR(BOLD
,"*"),
134 .mine_death
= SGR(BOLD
,"#"),
135 .mine_wrongf
= SGR(BOLD
,"/"),
136 .mine_wrongq
= SGR(BOLD
,"\\"),
138 .emoticons
= {":)", ":(", ":D", "\033(B:o\033(0"},
140 .border
= {{"\033#6\x6c","\x71","\x6b"},
141 {"\033#6\x78"," ","\x78"},
142 {"\033#6\x74","\x71","\x75"},
143 {"\033#6\x78"," ","\x78"},
144 {"\033#6\x6d","\x71","\x6a"}},
148 .init_seq
= "\033(0" /* enable DEC Special Graphics Character Set */
149 "\033[?3l", /* switch to 80 column mode */
150 .reset_seq
= "\033(B" /* reset to DEC Multinational Character Set */
151 "\033[?3h", /* switch back to 132 column mode (TODO: shouldn't be hardcoded) */