diff options
author | Curtis McEnroe | 2018-08-08 16:59:26 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-08-08 16:59:26 -0400 |
commit | eac0f83efa3d6b1db2715c21d60b170a546ebc0a (patch) | |
tree | c8db1326e24716e29d3c9b06e42527178d030fa1 /pls.c | |
parent | b66c8abf707e6574f6867b646dfb2549a5a7147f (diff) |
Factor out line editing to edit.c
Diffstat (limited to 'pls.c')
-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; |