diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/tui.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/tui.sh b/src/ui/tui.sh index 2e205c4..df7eeb5 100644 --- a/src/ui/tui.sh +++ b/src/ui/tui.sh @@ -259,6 +259,12 @@ tui_show_prompt() [ ${curpos} -lt ${#input} ] || continue curpos=$(($curpos + 1)) ;; + KEY_HOME) + curpos=0 + ;; + KEY_END) + curpos=${#input} + ;; KEY_BACKSPACE) [ ${curpos} -gt 0 ] || continue i=1 |