gui: fix Enter key in terminal

Translating CR to LF was an old hack that breaks Enter in nano.

Change-Id: If259e8b133f2f56f4126a1fb68856bf014a2daae
This commit is contained in:
that
2016-08-01 20:36:23 +02:00
committed by Dees Troy
parent ce8f83c48d
commit 8323ab53ee
-2
View File
@@ -425,8 +425,6 @@ public:
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;