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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user