summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-01 22:54:26 -0400
committerJune McEnroe <june@causal.agency>2020-09-01 22:54:26 -0400
commit4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc (patch)
treeeddbb60e37cfb153e2db22c2820a63ea1eb2515e /chat.h
parentInvert meaning of unreadHard/unreadSoft to match new buffer code (diff)
downloadcatgirl-4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc.tar.gz
catgirl-4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc.zip
Implement buffer line wrapping
Not yet rendered in the UI! Just done in parallel.
Diffstat (limited to '')
-rw-r--r--chat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index d53c7fe..d05121f 100644
--- a/chat.h
+++ b/chat.h
@@ -287,7 +287,7 @@ struct Buffer *bufferAlloc(void);
 void bufferFree(struct Buffer *buffer);
 const struct Line *bufferSoft(const struct Buffer *buffer, size_t i);
 const struct Line *bufferHard(const struct Buffer *buffer, size_t i);
-void bufferPush(
+int bufferPush(
 	struct Buffer *buffer, int cols,
 	enum Heat heat, time_t time, const char *str
 );
2021-01-12Don't output a pre in hilex by defaultJune McEnroe 2021-01-12Move hilex out of hilex directoryJune McEnroe 2021-01-12Consolidate hilex formatters into hilex.cJune McEnroe 2021-01-12Remove hacky tagging from hilexJune McEnroe 2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe 2021-01-12Split fields by tab onlyJune McEnroe 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe 2021-01-09Add c -t flag to print expression typeJune McEnroe 2021-01-05Update taglineJune McEnroe