summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ui/tui.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tui.sh b/src/ui/tui.sh
index 078e3e4..1bc16f4 100644
--- a/src/ui/tui.sh
+++ b/src/ui/tui.sh
@@ -46,8 +46,8 @@ _tui_box()
# 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)
+ y=$(expr \( $(term_lines) - ${h} \) / 2 + 1)
+ x=$(expr \( $(term_columns) - ${w} \) / 2 + 1)
term_cursor_position ${y} ${x}
# Build the line.