hirc

IRC client
Log | Files | Refs

commit d61137ac4ded28def38d3e2f091f8bd47d3e2b02
parent 78bec9a25839c4175349aabd6942f2919fccb371
Author: hhvn <dev@hhvn.uk>
Date:   Wed, 17 Nov 2021 18:57:22 +0000

ui.c: use ifdef for A_ITALIC (openbsd ncurses doesn't support)

Diffstat:
Mui.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/ui.c b/ui.c @@ -547,11 +547,13 @@ ui_wprintc(struct Window *window, int lines, char *format, ...) { colour = 1; break; case 9: /* ^I */ +#ifdef A_ITALIC if (italic) wattroff(window->window, A_ITALIC); else wattron(window->window, A_ITALIC); italic = italic ? 0 : 1; +#endif /* A_ITALIC */ break; case 15: /* ^O */ colour = 0;