Flush stdout after using putp

master
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) {
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) {