diff options
-rw-r--r-- | src/term.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.sh b/src/term.sh index be0b708..fc41774 100644 --- a/src/term.sh +++ b/src/term.sh @@ -294,7 +294,7 @@ term_getch() ;; ' ') key=KEY_SPACE;; "${HT}") key=KEY_TAB;; - "${LF}") key=KEY_ENTER;; + "$(printf '\015')") key=KEY_ENTER;; *) key="${byte}";; esac |