Merge pull request #94 from larsks/bug/92-fflush

fflush() after putchar() for print_hex and print_normal
This commit is contained in:
Martin Lund 2021-01-18 01:11:19 +01:00 committed by GitHub
commit 553939e002
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)