commit 8272f0338924cd897251e913e7e49d8421a31d01
parent 8979145af24a4d65a566081540b332aa99917c64
Author: hhvn <dev@hhvn.uk>
Date: Sat, 30 Oct 2021 14:51:31 +0100
ui.c: use waddch directly instead of waddnstr
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui.c b/ui.c
@@ -267,7 +267,7 @@ ui_draw_input(void) {
wattron(windows[Win_input].window, A_REVERSE);
waddnstr(windows[Win_input].window, &tmp, 1);
wattroff(windows[Win_input].window, A_REVERSE);
- } else waddnstr(windows[Win_input].window, p, 1);
+ } else waddch(windows[Win_input].window, *p);
}
wmove(windows[Win_input].window, 0, input.counter - offset);
}