Do not print timestamps in hex mode

This commit is contained in:
Martin Lund 2022-09-29 20:50:12 +02:00
parent 5f14924c96
commit a65b5b0e3a

View file

@ -1232,7 +1232,7 @@ int tty_connect(void)
input_char = input_buffer[i];
/* Print timestamp on new line if enabled */
if (next_timestamp && input_char != '\n' && input_char != '\r')
if ((next_timestamp && input_char != '\n' && input_char != '\r') && !option.hex_mode)
{
now = timestamp_current_time();
if (now)