aboutsummaryrefslogtreecommitdiffhomepage
path: root/output.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-15 23:49:15 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-15 23:49:15 +1000
commit94d1322fc1978d2655daf1b21891d7dc521ab683 (patch)
tree4d242145aa3925bcf54e0e5585dbddcc158e2941 /output.c
parenteed8b61a9e21a8cb3d01c77bd8bff927b87ee398 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output.c b/output.c
index 4a801eb4..f2183ed2 100644
--- a/output.c
+++ b/output.c
@@ -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;