mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Introduce basic line input mode
This commit is contained in:
parent
d60363a64c
commit
4801816357
8 changed files with 135 additions and 17 deletions
|
|
@ -31,11 +31,13 @@ char ansi_format[30];
|
|||
|
||||
void print_hex(char c)
|
||||
{
|
||||
print_tainted = true;
|
||||
printf("%02x ", (unsigned char) c);
|
||||
}
|
||||
|
||||
void print_normal(char c)
|
||||
{
|
||||
print_tainted = true;
|
||||
putchar(c);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue