diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-06-03 16:05:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-06-03 16:05:46 +0000 |
commit | 7d45e29683119b31179295b3712142ebf8897a0d (patch) | |
tree | 28dc49e1fe895cb7d1bd472126b201eaeb534460 /tmux.h | |
parent | 41d985ace3189c7375a8f1c2d1d2d028a20cf731 (diff) | |
download | rtmux-7d45e29683119b31179295b3712142ebf8897a0d.tar.gz rtmux-7d45e29683119b31179295b3712142ebf8897a0d.tar.bz2 rtmux-7d45e29683119b31179295b3712142ebf8897a0d.zip |
Add a UTF-8 aware string length function and make UTF-8 in
status-left/status-right work properly. At the moment any top-bit-set
characters are assumed to be UTF-8: a status-utf8 option to configure this will
come shortly.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1347,8 +1347,13 @@ void grid_view_delete_cells(struct grid *, u_int, u_int, u_int); void screen_write_start( struct screen_write_ctx *, struct window_pane *, struct screen *); void screen_write_stop(struct screen_write_ctx *); -void printflike3 screen_write_puts( - struct screen_write_ctx *, struct grid_cell *, const char *, ...); +size_t printflike1 screen_write_strlen(const char *, ...); +void printflike3 screen_write_puts(struct screen_write_ctx *, + struct grid_cell *, const char *, ...); +void printflike4 screen_write_nputs(struct screen_write_ctx *, + ssize_t, struct grid_cell *, const char *, ...); +void screen_write_vnputs(struct screen_write_ctx *, + ssize_t, struct grid_cell *, const char *, va_list); void screen_write_putc( struct screen_write_ctx *, struct grid_cell *, u_char); void screen_write_copy(struct screen_write_ctx *, |