summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-30 11:20:38 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-30 11:20:38 (EDT)
commit5207acbba0b7636a1d08e85cc292fbff735c1068 (patch)
treea1ca050f485c140008fdfe7d80aaa8a2357e969f
parenta460747f2f1a58d766867c8d0fa854f387b6ca15 (diff)
downloadfirman.sh-5207acbba0b7636a1d08e85cc292fbff735c1068.zip
firman.sh-5207acbba0b7636a1d08e85cc292fbff735c1068.tar.gz
firman.sh-5207acbba0b7636a1d08e85cc292fbff735c1068.tar.bz2
_tui_dialog(): Support info dialogs
-rw-r--r--src/ui/tui.sh5
1 files changed, 5 insertions, 0 deletions
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 '/!\'