Flush stdout after using putp

weechat-hashes
C. McEnroe 2020-02-06 23:11:48 -05:00
parent ea7e919a1d
commit 273207b19f
1 changed files with 2 additions and 0 deletions

2
ui.c
View File

@ -163,6 +163,7 @@ static const char *ExitPasteMode = "\33[?2004l";
void uiShow(void) { void uiShow(void) {
putp(EnterFocusMode); putp(EnterFocusMode);
putp(EnterPasteMode); putp(EnterPasteMode);
fflush(stdout);
} }
void uiHide(void) { void uiHide(void) {
@ -333,6 +334,7 @@ static void statusUpdate(void) {
putp(to_status_line); putp(to_status_line);
putp(buf); putp(buf);
putp(from_status_line); putp(from_status_line);
fflush(stdout);
} }
static void unmark(void) { static void unmark(void) {