mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Avoid invalid hex character messages when switching hex mode
This commit is contained in:
parent
c24cbfcd34
commit
d28007f0d3
1 changed files with 1 additions and 1 deletions
|
|
@ -1209,7 +1209,7 @@ int tty_connect(void)
|
|||
/* Save previous key */
|
||||
previous_char = input_char;
|
||||
|
||||
if (print_mode == HEX)
|
||||
if ((print_mode == HEX) && (forward))
|
||||
{
|
||||
if (!is_valid_hex(input_char))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue