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

@ -1518,9 +1518,12 @@ void forward_to_tty(int fd, char output_char)
handle_hex_prompt(output_char);
}
else
{
if (option.input_mode == INPUT_MODE_NORMAL)
{
optional_local_echo(output_char);
}
}
break;
case OUTPUT_MODE_END: