commit | 8323ab53ee4d61a3cdbad5ed39882811d9fb14d2 | [log] [tgz] |
---|---|---|
author | that <github@that.at> | Wed May 18 22:30:27 2016 +0200 |
committer | Dees Troy <dees_troy@teamw.in> | Mon Aug 01 20:36:23 2016 +0200 |
tree | cd7c1e0f99ca12cb2a73b4543f1d0339f8a99a3b | |
parent | ce8f83c48d200106ff61ad530c863b15c16949d9 [diff] |
gui: fix Enter key in terminal Translating CR to LF was an old hack that breaks Enter in nano. Change-Id: If259e8b133f2f56f4126a1fb68856bf014a2daae
diff --git a/gui/terminal.cpp b/gui/terminal.cpp index 2b2671c..b4194d0 100644 --- a/gui/terminal.cpp +++ b/gui/terminal.cpp
@@ -425,8 +425,6 @@ bool inputChar(int ch) { debug_printf("inputChar: %d\n", ch); - if (ch == 13) - ch = 10; initPty(); // reinit just in case it died before // encode the char as UTF-8 and send it to the pty std::string c;