summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ui/tui.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/tui.sh b/src/ui/tui.sh
index 9ed68f9..2c572bf 100644
--- a/src/ui/tui.sh
+++ b/src/ui/tui.sh
@@ -44,6 +44,7 @@ _tui_box()
local line=''
# Clear the screen and set the cursor position to center the box.
+ term_attr_reset
term_clear
y=$(expr \( $(term_lines) - ${h} \) / 2)
x=$(expr \( $(term_columns) - ${w} \) / 2)