void CCredit::Term() { for (int i = 0; i < MAX_CREDIT_STRINGS; i++) { TERM_STRING(m_aStrings[i]); } Clear(); }
196, 205, 196, 186, 205, 205, 186, 186, 179, 217, 218, 219, 220, 221, 222, 223, }; #define TERM_STRING(str) INIT_STRING(str, sizeof(str) - 1) /** Like add_string_to_string() but has fewer checks to slow it down. */ #define add_term_string(str, tstr) \ add_bytes_to_string(str, (tstr).source, (tstr).length) /** Frame begin/end sequences that switch fonts with ECMA-48 SGR. * ECMA-48: CSI Ps... 06/13 = SGR - SELECT GRAPHIC RENDITION * - Ps = 10 = primary (default) font * - Ps = 11 = first alternative font */ static const struct string m11_hack_frame_seqs[] = { /* end border: */ TERM_STRING("\033[10m"), /* begin border: */ TERM_STRING("\033[11m"), }; /** Frame begin/end sequences for VT100. */ static const struct string vt100_frame_seqs[] = { /* end border: */ TERM_STRING("\x0f"), /* begin border: */ TERM_STRING("\x0e"), }; /** Italic begin/end sequences using ECMA-48 SGR. * ECMA-48: CSI Ps... 06/13 = SGR - SELECT GRAPHIC RENDITION * - Ps = 3 = italicized * - Ps = 20 = Fraktur (Gothic) * - Ps = 23 = not italicized, not fraktur */ static const struct string italic_seqs[] = {