diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-05 00:05:42 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-05 00:05:42 -0800 |
commit | 21e83a881e59916cd4ad76c232e5857ef111be84 (patch) | |
tree | e2010898e25aae6929c90679abe6539033aa8143 /common.h | |
parent | 5ba1261285853e3448fc4397f1ca3a1e1733f6ba (diff) |
Bring back ellipsis
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -90,6 +90,12 @@ void exit_without_destructors(int code) __attribute__ ((noreturn)); extern struct termios shell_modes; /** + The character to use where the text has been truncated. Is an + ellipsis on unicode system and a $ on other systems. +*/ +extern wchar_t ellipsis_char; + +/** The verbosity level of fish. If a call to debug has a severity level higher than \c debug_level, it will not be printed. */ @@ -564,7 +570,9 @@ void error_reset(); /** This function behaves exactly like a wide character equivalent of - the C function setlocale. + the C function setlocale, except that it will also try to detect if + the user is using a Unicode character set, and if so, use the + unicode ellipsis character as ellipsis, instead of '$'. */ wcstring wsetlocale( int category, const wchar_t *locale ); |