diff options
author | C. McEnroe | 2020-02-09 01:28:24 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-09 01:28:24 -0500 |
commit | 2d62ea9e30e7249e7f3e5bc3e60f5c8e97b3e2cc (patch) | |
tree | 98e9370d66dfd03bbc2139d345fb35b757593c99 /chat.h | |
parent | a212a7ae2c93092068c8a9c483c4575cc65e7491 (diff) |
Simplify edit buffer conversion and input rendering
Diffstat (limited to 'chat.h')
-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); |