From a64f1a4ea2962e534673e27d85d92703c64201b0 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 9 Aug 2018 00:24:49 -0400 Subject: Add URL detection, listing and opening Might also add /copy, like /open. --- chat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chat.h') 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); -- cgit 1.4.1