Do not echo CR in line input and hex output mode

This commit is contained in:
Martin Lund 2024-04-18 13:39:55 +02:00
parent c440da2ea8
commit a8e0d2693d

View file

@ -1519,7 +1519,10 @@ void forward_to_tty(int fd, char output_char)
} }
else else
{ {
optional_local_echo(output_char); if (option.input_mode == INPUT_MODE_NORMAL)
{
optional_local_echo(output_char);
}
} }
break; break;