summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-06 23:11:48 -0500
committerJune McEnroe <june@causal.agency>2020-02-06 23:11:48 -0500
commit273207b19f4ff1302ec0c95bbb60d49f2af3415c (patch)
treeb93c86927bb25db8fd0eb7336b0daefe020c13e6
parentColor notices LightGray in input (diff)
downloadcatgirl-273207b19f4ff1302ec0c95bbb60d49f2af3415c.tar.gz
catgirl-273207b19f4ff1302ec0c95bbb60d49f2af3415c.zip
Flush stdout after using putp
Diffstat (limited to '')
-rw-r--r--ui.c2
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) {
2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe Otherwise the "id" in "void" matches for "void id". 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe