diff options
author | June McEnroe <june@causal.agency> | 2020-02-09 01:28:24 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-09 01:28:24 -0500 |
commit | 2d62ea9e30e7249e7f3e5bc3e60f5c8e97b3e2cc (patch) | |
tree | 98e9370d66dfd03bbc2139d345fb35b757593c99 /chat.h | |
parent | Show realname on JOIN if it is different from nick (diff) | |
download | catgirl-2d62ea9e30e7249e7f3e5bc3e60f5c8e97b3e2cc.tar.gz catgirl-2d62ea9e30e7249e7f3e5bc3e60f5c8e97b3e2cc.zip |
Simplify edit buffer conversion and input rendering
Diffstat (limited to '')
-rw-r--r-- | chat.h | 3 |
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); |