search for: border_ascii

Displaying 3 results from an estimated 3 matches for "border_ascii".

2015 Jul 06
7
[PATCH 1/1] paint visual host key with unicode box-drawing characters
..._len, * Chars to be used after each other every time the worm * intersects with itself. Matter of taste. */ +#ifdef HAVE_LOCALE_H + char *locale; + char *border_utf8[] = { "?", "?", "?", "?", "?", "?" }; +#endif + char *border_ascii[] = { "+", "-", "+", "|", "+", "+" }; + char **border; char *augmentation_string = " .o+=*BOX@%&#/^SE"; char *retval, *p, title[FLDSIZE_X], hash[FLDSIZE_X]; u_char field[FLDSIZE_X][FLDSIZE_Y]; @@ -1096,9 +1105,25 @@...
2015 Jul 06
2
[PATCH 1/1] paint visual host key with unicode box-drawing characters
...Jul 2015, at 11:05, Christian Hesse <list at eworm.de> wrote: > >> +#ifdef HAVE_LOCALE_H >> + char *locale; >> + char *border_utf8[] = { "?", "?", "?", "?", "?", "?" }; >> +#endif >> + char *border_ascii[] = { "+", "-", "+", "|", "+", "+" }; >> + char **border; > What if LOCALE_H is present at compile time but the binary is then > run in a non-unicode locale? > I'm more concerned about the UTF-8 in the source code... a...
2015 Jul 06
3
[PATCH v2 1/1] paint visual host key with unicode box-drawing characters
...? left of title/hash */ + "\342\224\243", /* ? right of title/hash */ + "\342\224\223", /* ? upper right */ + "\342\224\203", /* ? vertical */ + "\342\224\227", /* ? lower left */ + "\342\224\233" /* ? lower right */ }; +#endif + char *border_ascii[] = { "+", "-", "[", "]", "+", "|", "+", "+" }; + char **border; char *augmentation_string = " .o+=*BOX@%&#/^SE"; - char *retval, *p, title[FLDSIZE_X], hash[FLDSIZE_X]; + char *retval, *p, title[FLDSIZ...