From 5153fc90bf83f484571040a3d5e1cb41e6506ecb Mon Sep 17 00:00:00 2001 From: stefan11111 Date: Sat, 25 May 2024 01:06:22 +0000 Subject: some code improvements and a new feature (#137) Co-authored-by: Emeka Nkurumeh --- kirc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'kirc.h') diff --git a/kirc.h b/kirc.h index 04fda43..867d431 100644 --- a/kirc.h +++ b/kirc.h @@ -102,6 +102,7 @@ typedef struct STATE { size_t lenu8; /* Current edited line length. */ size_t cols; /* Number of columns in terminal. */ int history_index; /* Current line in the edit history */ + char nick_privmsg; /* whether or not we are sending messages to a chan or nick */ } state_t, *state; struct abuf { -- cgit v1.2.3