aboutsummaryrefslogtreecommitdiffstats
path: root/kirc.h
diff options
context:
space:
mode:
authorstefan11111 <stefan11111@shitposting.expert>2024-05-25 01:06:22 +0000
committerGitHub <noreply@github.com>2024-05-24 21:06:22 -0400
commit5153fc90bf83f484571040a3d5e1cb41e6506ecb (patch)
treebc3388725080232d029de6d1b3445e0a4e0ee7b0 /kirc.h
parentMerge changes I made in the last year (#136) (diff)
downloadkirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.tar.gz
kirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.tar.bz2
kirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.tar.xz
kirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.tar.zst
kirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.zip
some code improvements and a new feature (#137)
Co-authored-by: Emeka Nkurumeh <emekankurumeh@outlook.com>
Diffstat (limited to '')
-rw-r--r--kirc.h1
1 files changed, 1 insertions, 0 deletions
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 {