summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-09 00:24:49 -0400
committerJune McEnroe <june@causal.agency>2018-08-09 00:24:49 -0400
commita64f1a4ea2962e534673e27d85d92703c64201b0 (patch)
tree1bcf8ffdf2ae7280b406fe021619e9c61b83de6b /chat.h
parentAdd commands to tab complete (diff)
downloadcatgirl-a64f1a4ea2962e534673e27d85d92703c64201b0.tar.gz
catgirl-a64f1a4ea2962e534673e27d85d92703c64201b0.zip
Add URL detection, listing and opening
Might also add /copy, like /open.
Diffstat (limited to '')
-rw-r--r--chat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index 3ded5db..3a84b6c 100644
--- a/chat.h
+++ b/chat.h
@@ -50,6 +50,7 @@ void ircFmt(const char *format, ...);
 
 void uiInit(void);
 void uiHide(void);
+void uiExit(void);
 void uiDraw(void);
 void uiBeep(void);
 void uiRead(void);
@@ -77,6 +78,10 @@ void handle(char *line);
 void inputTab(void);
 void input(char *line);
 
+void urlScan(const char *str);
+void urlList(void);
+void urlOpen(size_t i);
+
 void tabTouch(const char *word);
 void tabRemove(const char *word);
 void tabReplace(const char *prev, const char *next);