From 65c0b8bf6fde4e708a5c822a9c424b9f11884584 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 29 Oct 2015 17:34:19 -0400 Subject: _tui_dialog(): Don't use SGR underline with icons The Linux console handles SGR parameter 4 with color instead of an underline. --- 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 -- cgit v0.9.1