From 2a1f89e5d941a77e8c93ad0a5fe78229a4207d61 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 16 Apr 2019 16:53:27 -0500 Subject: Add argument to xflush() so it can test for stdout err without flushing. --- toys/other/hexedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other') diff --git a/toys/other/hexedit.c b/toys/other/hexedit.c index 06a96a22..809340a1 100644 --- a/toys/other/hexedit.c +++ b/toys/other/hexedit.c @@ -180,7 +180,7 @@ void hexedit_main(void) // Display cursor and flush output highlight(x, y, ro ? 3 : side); - xflush(); + xflush(1); // Wait for next key key = scan_key(keybuf, -1); -- cgit v1.2.3