^D should actually not echo

This commit is contained in:
Kevin Lange 2014-05-29 23:41:17 -07:00
parent d4b334f119
commit 9eef96cb6a

View File

@ -117,11 +117,6 @@ static void input_process(pty_t * pty, uint8_t c) {
return;
}
if (c == pty->tios.c_cc[VEOF]) {
if (pty->tios.c_lflag & ECHO) {
output_process(pty, '^');
output_process(pty, '@' + c);
output_process(pty, '\n');
}
clear_input_buffer(pty);
ring_buffer_interrupt(pty->in);
return;