diff options
author | axel <axel@liljencrantz.se> | 2006-06-15 23:49:15 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-15 23:49:15 +1000 |
commit | 94d1322fc1978d2655daf1b21891d7dc521ab683 (patch) | |
tree | 4d242145aa3925bcf54e0e5585dbddcc158e2941 /output.c | |
parent | eed8b61a9e21a8cb3d01c77bd8bff927b87ee398 (diff) |
Update the set_color command: Add underline support, make the command a bit more rubust to missing ferminal features, and update documentation and completions
darcs-hash:20060615134915-ac50b-de1092e56490bbf1c58cc3422c239a2997645b6b.gz
Diffstat (limited to 'output.c')
-rw-r--r-- | output.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -560,7 +560,7 @@ int output_color_code( const wchar_t *val ) wchar_t *next = (wchar_t *)al_get( &el, j ); is_bold |= (wcsncmp( next, L"--bold", wcslen(next) ) == 0 ) && wcslen(next)>=3; - is_bold |= wcscmp( next, L"-b" ) == 0; + is_bold |= wcscmp( next, L"-o" ) == 0; is_underline |= (wcsncmp( next, L"--underline", wcslen(next) ) == 0 ) && wcslen(next)>=3; is_underline |= wcscmp( next, L"-u" ) == 0; |