Flush stdout after using putp
parent
ea7e919a1d
commit
273207b19f
2
ui.c
2
ui.c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue