about summary refs log tree commit diff
path: root/pls.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-08 16:59:26 -0400
committerJune McEnroe <june@causal.agency>2018-08-08 16:59:26 -0400
commiteac0f83efa3d6b1db2715c21d60b170a546ebc0a (patch)
treec8db1326e24716e29d3c9b06e42527178d030fa1 /pls.c
parentSet log marker on FocusOut event (diff)
downloadcatgirl-eac0f83efa3d6b1db2715c21d60b170a546ebc0a.tar.gz
catgirl-eac0f83efa3d6b1db2715c21d60b170a546ebc0a.zip
Factor out line editing to edit.c
Diffstat (limited to '')
-rw-r--r--pls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pls.c b/pls.c
index 27ede4c..01df654 100644
--- a/pls.c
+++ b/pls.c
@@ -20,6 +20,8 @@
 #include <stdlib.h>
 #include <wchar.h>
 
+#include "chat.h"
+
 wchar_t *ambstowcs(const char *src) {
 	size_t len = mbsrtowcs(NULL, &src, 0, NULL);
 	if (len == (size_t)-1) return NULL;