Update flush command

This commit is contained in:
Martin Lund 2022-12-02 12:45:45 +01:00
parent f4dc46d002
commit cd24797961
2 changed files with 2 additions and 1 deletions

View file

@ -292,7 +292,7 @@ Toggle local echo mode
.IP "\fBctrl-t f" .IP "\fBctrl-t f"
Toggle log to file Toggle log to file
.IP "\fBctrl-t F" .IP "\fBctrl-t F"
Flush data I/O channels (discard data written but not transmitted and data received but not read) Flush data I/O buffers (discard data written but not transmitted and data received but not read)
.IP "\fBctrl-t g" .IP "\fBctrl-t g"
Toggle serial port line Toggle serial port line
.IP "\fBctrl-t h" .IP "\fBctrl-t h"

View file

@ -525,6 +525,7 @@ void handle_command_sequence(char input_char, char *output_char, bool *forward)
tio_printf(" ctrl-%c c Show configuration", option.prefix_key); tio_printf(" ctrl-%c c Show configuration", option.prefix_key);
tio_printf(" ctrl-%c e Toggle local echo mode", option.prefix_key); tio_printf(" ctrl-%c e Toggle local echo mode", option.prefix_key);
tio_printf(" ctrl-%c f Toggle log to file", option.prefix_key); tio_printf(" ctrl-%c f Toggle log to file", option.prefix_key);
tio_printf(" ctrl-%c F Flush data I/O buffers", option.prefix_key);
tio_printf(" ctrl-%c g Toggle serial port line", option.prefix_key); tio_printf(" ctrl-%c g Toggle serial port line", option.prefix_key);
tio_printf(" ctrl-%c h Toggle hexadecimal mode", option.prefix_key); tio_printf(" ctrl-%c h Toggle hexadecimal mode", option.prefix_key);
tio_printf(" ctrl-%c l Clear screen", option.prefix_key); tio_printf(" ctrl-%c l Clear screen", option.prefix_key);