about summary refs log tree commit diff
path: root/window.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-02-19 20:20:19 -0500
committerJune McEnroe <june@causal.agency>2022-02-19 20:20:19 -0500
commit073cebec7a5a07ab2b829e40ce47ec3b1d774bd9 (patch)
treead20f89bb88ca5bd3499c2628b03a00d67985a4c /window.c
parentFactor out window management to window.c (diff)
downloadcatgirl-073cebec7a5a07ab2b829e40ce47ec3b1d774bd9.tar.gz
catgirl-073cebec7a5a07ab2b829e40ce47ec3b1d774bd9.zip
Factor out input handling to input.c
Diffstat (limited to '')
-rw-r--r--window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/window.c b/window.c
index ce3ec4d..0395542 100644
--- a/window.c
+++ b/window.c
@@ -273,7 +273,7 @@ void windowUpdate(void) {
 
 void windowBare(void) {
 	uiHide();
-	uiWait();
+	inputWait();
 
 	const struct Window *window = windows[show];
 	const struct Line *line = bufferHard(window->buffer, windowBottom(window));
@@ -426,7 +426,7 @@ void windowShow(uint num) {
 	user = num;
 	unmark(windows[show]);
 	mainUpdate();
-	uiUpdate();
+	inputUpdate();
 }
 
 void windowAuto(void) {
@@ -515,7 +515,7 @@ void windowToggleTime(void) {
 	windows[show]->time ^= true;
 	reflow(windows[show]);
 	windowUpdate();
-	uiUpdate();
+	inputUpdate();
 }
 
 void windowToggleThresh(int n) {