diff options
author | C. McEnroe | 2020-02-06 23:11:48 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-06 23:11:48 -0500 |
commit | 273207b19f4ff1302ec0c95bbb60d49f2af3415c (patch) | |
tree | b93c86927bb25db8fd0eb7336b0daefe020c13e6 /ui.c | |
parent | ea7e919a1d4816486da7ee9a77767652b475bb10 (diff) |
Flush stdout after using putp
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.c b/ui.c index b0f95aa..ffe8748 100644 --- a/ui.c +++ b/ui.c @@ -163,6 +163,7 @@ static const char *ExitPasteMode = "\33[?2004l"; void uiShow(void) { putp(EnterFocusMode); putp(EnterPasteMode); + fflush(stdout); } void uiHide(void) { @@ -333,6 +334,7 @@ static void statusUpdate(void) { putp(to_status_line); putp(buf); putp(from_status_line); + fflush(stdout); } static void unmark(void) { |