diff options
author | June McEnroe <june@causal.agency> | 2018-08-08 16:59:26 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-08 16:59:26 -0400 |
commit | eac0f83efa3d6b1db2715c21d60b170a546ebc0a (patch) | |
tree | c8db1326e24716e29d3c9b06e42527178d030fa1 /pls.c | |
parent | Set log marker on FocusOut event (diff) | |
download | catgirl-eac0f83efa3d6b1db2715c21d60b170a546ebc0a.tar.gz catgirl-eac0f83efa3d6b1db2715c21d60b170a546ebc0a.zip |
Factor out line editing to edit.c
Diffstat (limited to '')
-rw-r--r-- | pls.c | 2 |
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; |