summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index 8c13d49..93014ef 100644
--- a/chat.h
+++ b/chat.h
@@ -91,6 +91,23 @@ void ircFormat(const char *format, ...)
 
 void handle(struct Message msg);
 
+enum TermMode {
+	TermFocus,
+	TermPaste,
+};
+enum TermEvent {
+	TermNone,
+	TermFocusIn,
+	TermFocusOut,
+	TermPasteStart,
+	TermPasteEnd,
+};
+void termInit(void);
+void termNoFlow(void);
+void termTitle(const char *title);
+void termMode(enum TermMode mode, bool set);
+enum TermEvent termEvent(char ch);
+
 #define BASE64_SIZE(len) (1 + ((len) + 2) / 3 * 4)
 
 static const char Base64[64] = {
98b2298ecd14f933133e555a06f90c8a9640ab&follow=1'>Include path in readlinkat errorJune McEnroe 2019-11-07Call clientConsume before clientRecvJune McEnroe 2019-11-06Use -l:filename in Linux.mkJune McEnroe 2019-11-06Fix compat.h for #defined strlcpyJune McEnroe 2019-11-06Allow unsetting LIBRESSL_PREFIXJune McEnroe 2019-11-06Document calico service configurationJune McEnroe 2019-11-06Document SASL EXTERNAL configuration in more detailJune McEnroe 2019-11-06Document pounce service configurationJune McEnroe 2019-11-06Mention Darwin and GNU/Linux in READMEJune McEnroe 2019-11-06Assume LibreSSL from brew on DarwinJune McEnroe 2019-11-06Remove -DNO_EXPLICIT_BZERO from Darwin.mkJune McEnroe 2019-11-06Don't install rc scripts or dirs on LinuxJune McEnroe