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 'window.c')
-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) {
low=1'>Use wchar_t strings for all of UIJune McEnroe vaswprintf is a nightmare. 2018-08-06Rename line editing functionsJune McEnroe 2018-08-05Initialize all possible color pairsJune McEnroe This is actually possible with use_default_colors! 2018-08-05Refactor color initializationJune McEnroe 2018-08-05Add ^L redrawJune McEnroe 2018-08-05Use 16 colors if availableJune McEnroe Fall back to using bold if there are only 8 colors. This also allowed bright background colors in 16-color terminals. I must port this system to torus. I'll be able to remove the awful termcap patch hack. 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe Oh boy that's embarrassing. 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe Don't really have a way to implement the M-* keys, and currently missing C-w. 2018-08-04Handle /topicJune McEnroe