summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ui/tui.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/tui.sh b/src/ui/tui.sh
index 592e96a..4aec0d1 100644
--- a/src/ui/tui.sh
+++ b/src/ui/tui.sh
@@ -384,7 +384,10 @@ tui_show_prompt()
focus=$(expr \( ${focus} + 1 \) % 2)
elif [ ${focus} -eq 0 ]; then
case "${key}" in
- KEY_ENTER) break;;
+ KEY_ENTER)
+ term_hide_cursor
+ break
+ ;;
KEY_LEFT)
[ ${curpos} -gt 0 ] || continue
curpos=$(($curpos - 1))