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
-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) {
commit/bin/man1/hilex.1?id=a76cc474b8765c547ea033095b8d170cd0f60845&follow=1'>Don't output a pre in hilex by defaultJune McEnroe 2021-01-12Move hilex out of hilex directoryJune McEnroe 2021-01-12Consolidate hilex formatters into hilex.cJune McEnroe 2021-01-12Remove hacky tagging from hilexJune McEnroe 2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe 2021-01-12Split fields by tab onlyJune McEnroe 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe 2021-01-09Add c -t flag to print expression typeJune McEnroe 2021-01-05Update taglineJune McEnroe