From 5207acbba0b7636a1d08e85cc292fbff735c1068 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 30 Oct 2015 11:20:38 -0400 Subject: _tui_dialog(): Support info dialogs --- (limited to 'src') diff --git a/src/ui/tui.sh b/src/ui/tui.sh index 0bc5da2..636a630 100644 --- a/src/ui/tui.sh +++ b/src/ui/tui.sh @@ -110,6 +110,11 @@ _tui_dialog() term_cursor_forward 2 term_cursor_down 1 case "${lvl}" in + info) + term_fg_color_set blue + term_write '(i)' + term_fg_color_set black + ;; warn) term_fg_color_set yellow term_write '/!\' -- cgit v0.9.1