summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/term.sh2
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