summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-05 19:00:54 -0500
committerJune McEnroe <june@causal.agency>2020-02-05 19:00:54 -0500
commitb2d35edcb22a9a41235229b41b180a50b51b5908 (patch)
tree4cfc6ca3682aff0fa7fd65348c35210df832460f /chat.h
parentScroll the input window (diff)
downloadcatgirl-b2d35edcb22a9a41235229b41b180a50b51b5908.tar.gz
catgirl-b2d35edcb22a9a41235229b41b180a50b51b5908.zip
Change prompt depending on command
Diffstat (limited to '')
-rw-r--r--chat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index 90c7da8..b73cf40 100644
--- a/chat.h
+++ b/chat.h
@@ -112,6 +112,9 @@ void ircFormat(const char *format, ...)
 
 void handle(struct Message msg);
 void command(size_t id, char *input);
+const char *commandIsPrivmsg(size_t id, const char *input);
+const char *commandIsNotice(size_t id, const char *input);
+const char *commandIsAction(size_t id, const char *input);
 
 enum Heat { Cold, Warm, Hot };
 void uiInit(void);
c58554ebcf760fa1be4626b3f26acfcd8d&follow=1'>Add htoprcJune McEnroe 2016-07-24Add may and refactor ssh configJune McEnroe 2016-07-18Disable cursorlineJune McEnroe 2016-07-18Use hard constrast gruvbox darkJune McEnroe 2016-07-15Remove vim configurationJune McEnroe 2016-07-15Add readline to README configurations listJune McEnroe 2016-07-15Add vendor script to READMEJune McEnroe 2016-07-15Pull latest pathogen and gruvboxJune McEnroe