Skip to content

Commit

Permalink
Always use ASCII characters for the arrow tips
Browse files Browse the repository at this point in the history
Enabling multi-byte support changes the arrow tips from the ASCII
characters '^'/'>' to the Unicode arrows '↑'/'→' (U+2191 Upwards arrow
and U+2192 Rightwards arrow).

The ASCII characters look better on the graph: use them unconditionally.
  • Loading branch information
edgar-bonet committed Nov 19, 2023
1 parent 5bdee13 commit 055c736
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ttyplot.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,15 @@
#define VERSION_STR STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_PATCH)
#endif

#define T_RARR '>'
#define T_UARR '^'
#ifdef NOACS
#define T_HLINE '-'
#define T_VLINE '|'
#define T_RARR '>'
#define T_UARR '^'
#define T_LLCR 'L'
#else
#define T_HLINE ACS_HLINE
#define T_VLINE ACS_VLINE
#define T_RARR ACS_RARROW
#define T_UARR ACS_UARROW
#define T_LLCR ACS_LLCORNER
#endif

Expand Down

0 comments on commit 055c736

Please sign in to comment.