commit 3d761f0d1d20a77af311bf26832df16365548e00
parent d40c78378b3c5e5ad0fd9ab10de8051df5a26c33
Author: hhvn <dev@hhvn.uk>
Date: Sun, 21 Nov 2021 14:46:40 +0000
ui.c: use decimal value for ^C
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui.c b/ui.c
@@ -367,8 +367,8 @@ ui_draw_nicklist(void) {
nick_sort(&selected.channel->nicks, selected.server);
/* TODO: more nicks than screen height? */
for (p = selected.channel->nicks; p; p = p->next) {
- ui_wprintc(&windows[Win_nicklist], 0, "%02d%c%s\n",
- nick_getcolour(p), p->priv, p->nick);
+ ui_wprintc(&windows[Win_nicklist], 0, "%c%02d%c%s\n",
+ 3 /* ^C */, nick_getcolour(p), p->priv, p->nick);
}
}