summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ui/tui.sh21
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