summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 89d3e76..c387a2d 100644
--- a/ui.c
+++ b/ui.c
@@ -441,7 +441,9 @@ static void keyCode(wchar_t code) {
 		break; case KEY_DC:        edit(win->tag, EditDelete, 0);
 		break; case KEY_BACKSPACE: edit(win->tag, EditBackspace, 0);
 		break; case KEY_ENTER:     edit(win->tag, EditEnter, 0);
+		break; default: return;
 	}
+	uiStatus();
 }
 
 static void keyChar(wchar_t ch) {
@@ -453,7 +455,10 @@ static void keyChar(wchar_t ch) {
 			break; case TermFocusOut: if (win) windowMark(win);
 			break; default: {}
 		}
-		if (event) return;
+		if (event) {
+			uiStatus();
+			return;
+		}
 	}
 	if (ch == Del) ch = L'\b';
 
td>Update prompt when own nick changesJune McEnroe 2020-02-10Match URLs surrounded by parenthesesJune McEnroe 2020-02-10Fix M-a so it properly cycles back to where it startedJune McEnroe 2020-02-09Add M-lJune McEnroe 2020-02-09Add /whoisJune McEnroe 2020-02-09Add /msgJune McEnroetd>June McEnroe 2020-02-11Set self.nick to * initiallyJune McEnroe 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe 2020-02-11Cast towupper to wchar_tJune McEnroe 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe