summary refs log tree commit diff
path: root/handle.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 /handle.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 'handle.c')
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index f4cf68e..9f051c7 100644
--- a/handle.c
+++ b/handle.c
@@ -425,7 +425,7 @@ static void handleNick(struct Message *msg) {
 	require(msg, true, 1);
 	if (!strcmp(msg->nick, self.nick)) {
 		set(&self.nick, msg->params[0]);
-		uiRead(); // Update prompt.
+		inputUpdate();
 	}
 	for (uint id; (id = completeID(msg->nick));) {
 		if (!strcmp(idNames[id], msg->nick)) {