summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-09 01:28:24 -0500
committerJune McEnroe <june@causal.agency>2020-02-09 01:28:24 -0500
commit2d62ea9e30e7249e7f3e5bc3e60f5c8e97b3e2cc (patch)
tree98e9370d66dfd03bbc2139d345fb35b757593c99 /chat.h
parentShow realname on JOIN if it is different from nick (diff)
downloadcatgirl-2d62ea9e30e7249e7f3e5bc3e60f5c8e97b3e2cc.tar.gz
catgirl-2d62ea9e30e7249e7f3e5bc3e60f5c8e97b3e2cc.zip
Simplify edit buffer conversion and input rendering
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chat.h b/chat.h
index 896549e..914fde6 100644
--- a/chat.h
+++ b/chat.h
@@ -156,8 +156,7 @@ enum Edit {
 	EditEnter,
 };
 void edit(size_t id, enum Edit op, wchar_t ch);
-char *editHead(void);
-char *editTail(void);
+char *editBuffer(size_t *pos);
 
 const char *complete(size_t id, const char *prefix);
 void completeAccept(void);