aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-01-17 14:08:10 -0600
committerRob Landley <rob@landley.net>2016-01-17 14:08:10 -0600
commit544c1ec1614cd9a8dcedac3478701e4b97b0f8a0 (patch)
treeb2f0672f0f10be0de36d6a52d51fc78d215413dc /lib/lib.h
parent5493916370c74944cc796cc91d058fb4ccabe140 (diff)
downloadtoybox-544c1ec1614cd9a8dcedac3478701e4b97b0f8a0.tar.gz
Update draw_str() and friends to do standard escaping for ^X <AB> U+ABCD.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 0c6d3796..2338037c 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -214,9 +214,9 @@ void linestack_insert(struct linestack **lls, long pos, char *line, long len);
void linestack_append(struct linestack **lls, char *line);
struct linestack *linestack_load(char *name);
int crunch_str(char **str, int width, FILE *out,
- int (*escout)(FILE *out, wchar_t wc));
-int draw_str(char *start, int width, int (*escout)(FILE *out, wchar_t wc));
-int draw_rstr(char *start, int width, int (*escout)(FILE *out, wchar_t wc));
+ int (*escout)(FILE *out, int cols, char **buf));
+int draw_str(char *start, int width);
+int draw_rstr(char *start, int width);
// interestingtimes.c
int xgettty(void);