diff options
author | Rob Landley <rob@landley.net> | 2016-01-17 14:08:10 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-01-17 14:08:10 -0600 |
commit | 544c1ec1614cd9a8dcedac3478701e4b97b0f8a0 (patch) | |
tree | b2f0672f0f10be0de36d6a52d51fc78d215413dc /lib/lib.h | |
parent | 5493916370c74944cc796cc91d058fb4ccabe140 (diff) | |
download | toybox-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |