Merge pull request #60 from jwilk-forks/spelling

Fix typos
This commit is contained in:
Martin Lund 2017-09-28 17:49:02 +02:00 committed by GitHub
commit 539474145d
3 changed files with 7 additions and 7 deletions

View file

@ -16,11 +16,11 @@ Changes since tio v1.21:
Changes since tio v1.20: Changes since tio v1.20:
* Add support for hexidecimal mode * Add support for hexadecimal mode
A new key command 'ctrl-t h' is introduced which toggles between A new key command 'ctrl-t h' is introduced which toggles between
hexidecial mode and normal mode. When in hexidecimal mode data received hexadecimal mode and normal mode. When in hexadecimal mode data received
will be printed in hexidecimal. will be printed in hexadecimal.
* Do not distribute src/bash_completion/tio * Do not distribute src/bash_completion/tio

View file

@ -75,7 +75,7 @@ Send serial break (triggers SysRq on Linux, etc.)
.IP "\fBctrl-t c" .IP "\fBctrl-t c"
Show configuration (baudrate, databits, etc.) Show configuration (baudrate, databits, etc.)
.IP "\fBctrl-t h" .IP "\fBctrl-t h"
Toggle hexidecimal mode Toggle hexadecimal mode
.IP "\fBctrl-t l" .IP "\fBctrl-t l"
Clear screen Clear screen
.IP "\fBctrl-t q" .IP "\fBctrl-t q"

View file

@ -93,7 +93,7 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c
tio_printf(" ctrl-t ? List available key commands"); tio_printf(" ctrl-t ? List available key commands");
tio_printf(" ctrl-t b Send break"); tio_printf(" ctrl-t b Send break");
tio_printf(" ctrl-t c Show configuration"); tio_printf(" ctrl-t c Show configuration");
tio_printf(" ctrl-t h Toggle hexidecimal mode"); tio_printf(" ctrl-t h Toggle hexadecimal mode");
tio_printf(" ctrl-t l Clear screen"); tio_printf(" ctrl-t l Clear screen");
tio_printf(" ctrl-t q Quit"); tio_printf(" ctrl-t q Quit");
tio_printf(" ctrl-t s Show statistics"); tio_printf(" ctrl-t s Show statistics");
@ -118,12 +118,12 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c
break; break;
case KEY_H: case KEY_H:
/* Toggle hexidecimal printing mode */ /* Toggle hexadecimal printing mode */
if (print_mode == NORMAL) if (print_mode == NORMAL)
{ {
print = print_hex; print = print_hex;
print_mode = HEX; print_mode = HEX;
tio_printf("Switched to hexidecimal mode"); tio_printf("Switched to hexadecimal mode");
} }
else else
{ {