aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-04-16 16:53:27 -0500
committerRob Landley <rob@landley.net>2019-04-16 16:53:27 -0500
commit2a1f89e5d941a77e8c93ad0a5fe78229a4207d61 (patch)
treef54c6364e70eafb604bff6e078728e6faf66a57d /toys/other
parent63a0e7afff271ac1b1df3309bbf35f52e4771419 (diff)
downloadtoybox-2a1f89e5d941a77e8c93ad0a5fe78229a4207d61.tar.gz
Add argument to xflush() so it can test for stdout err without flushing.
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/hexedit.c2
1 files changed, 1 insertions, 1 deletions
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);