summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 83373d9..cb4115b 100644
--- a/ui.c
+++ b/ui.c
@@ -657,7 +657,7 @@ static void inputUpdate(void) {
 	struct Style init = { .fg = self.color, .bg = Default };
 	struct Style rest = Reset;
 	const char *prefix = "";
-	const char *prompt = (self.nick ? self.nick : "");
+	const char *prompt = self.nick;
 	const char *suffix = "";
 	if (NULL != (skip = commandIsPrivmsg(id, buf))) {
 		prefix = "<"; suffix = "> ";
an>Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe