-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support plotting with mutibyte characters
The options -c, -e and -E only support ASCII characters. Make them support multibyte characters too, as box drawing and block elements can make nice plotting glyphs. This requires wide character support from the "ncursesw" version of the ncurses library. Only characters supported by the user's locale can be used, which includes the full Unicode repertoire on UTF-8 locales. As the wide character API of ncurses does not support ACS characters, the default plotting character on locales lacking mutibyte support is now "|" (U+007C vertical line).
- Loading branch information
1 parent
8d24130
commit ba79765
Showing
2 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters