mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Merge pull request #94 from larsks/bug/92-fflush
fflush() after putchar() for print_hex and print_normal
This commit is contained in:
commit
553939e002
1 changed files with 3 additions and 1 deletions
|
|
@ -71,11 +71,13 @@ static bool map_o_del_bs = false;
|
|||
static void print_hex(char c)
|
||||
{
|
||||
printf("%02x ", (unsigned char) c);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
static void print_normal(char c)
|
||||
{
|
||||
putchar(c);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
static void toggle_line(const char *line_name, int mask)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue