diff options
author | June McEnroe <june@causal.agency> | 2018-08-07 23:40:40 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-07 23:40:40 -0400 |
commit | ee0df2846e7eebf0f91e9fd05f400ef57a554290 (patch) | |
tree | 4836c8d80801c7e9722379156386696d7223c5d2 /ui.c | |
parent | Add tab complete UI (diff) | |
download | catgirl-ee0df2846e7eebf0f91e9fd05f400ef57a554290.tar.gz catgirl-ee0df2846e7eebf0f91e9fd05f400ef57a554290.zip |
Reset attrs after addIRC
Otherwise the marker inherits whatever was left on.
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c index 3453242..adc752f 100644 --- a/ui.c +++ b/ui.c @@ -262,6 +262,7 @@ static void addIRC(WINDOW *win, const wchar_t *str) { break; case IRC_RESET: attr = A_NORMAL; pair = -1; } } + wattr_set(win, A_NORMAL, 0, NULL); } void uiTopic(const wchar_t *topic) { |