diff options
author | P. J. McDermott <pj@pehjota.net> | 2015-10-29 17:34:19 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2015-10-29 17:36:01 (EDT) |
commit | 65c0b8bf6fde4e708a5c822a9c424b9f11884584 (patch) | |
tree | f531dff85872c58c2a6c8059479a57e98687f3d4 /src/ui | |
parent | 2a05d14994cfda03d812148b585f589f633c3357 (diff) | |
download | firman.sh-65c0b8bf6fde4e708a5c822a9c424b9f11884584.zip firman.sh-65c0b8bf6fde4e708a5c822a9c424b9f11884584.tar.gz firman.sh-65c0b8bf6fde4e708a5c822a9c424b9f11884584.tar.bz2 |
_tui_dialog(): Don't use SGR underline with icons
The Linux console handles SGR parameter 4 with color instead of an
underline.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/tui.sh | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/ui/tui.sh b/src/ui/tui.sh index ed43299..078e3e4 100644 --- a/src/ui/tui.sh +++ b/src/ui/tui.sh @@ -90,33 +90,16 @@ _tui_dialog() # Draw an icon. term_cursor_forward 2 + term_cursor_down 1 case "${lvl}" in warn) - term_cursor_forward 1 term_fg_color_set yellow - term_attr_on underline - term_write ' ' - term_attr_off underline - term_cursor_back 2 - term_cursor_down 1 - term_attr_on underline term_write '/!\' - term_attr_off underline term_fg_color_set black ;; err) - term_cursor_forward 1 term_fg_color_set red - term_attr_on underline - term_write ' ' - term_attr_off underline - term_cursor_back 2 - term_cursor_down 1 - term_write '(' - term_attr_on underline - term_write 'x' - term_attr_off underline - term_write ')' + term_write '(x)' term_fg_color_set black ;; esac |