summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-24 16:01:02 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-24 16:01:02 +0000
commit2de599ac0ec0634282a52711378258e25839bc7f (patch)
tree801da081ece4aed7ebb958c794de17f63328cd1e /tmux.h
parent7b4077ef8710aead343ea306d598f457652ba5c0 (diff)
Trying to predict the cursor position for UTF-8 output in the same way as for
normal eight-bit output is wrong, separate it into a different function. Fixes spacing when mixing UTF-8 with some escape sequences, notably the way w3m does it.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 04088a16..2052b498 100644
--- a/tmux.h
+++ b/tmux.h
@@ -994,6 +994,7 @@ void tty_putcode1(struct tty *, enum tty_code_code, int);
void tty_putcode2(struct tty *, enum tty_code_code, int, int);
void tty_puts(struct tty *, const char *);
void tty_putc(struct tty *, u_char);
+void tty_pututf8(struct tty *, const struct grid_utf8 *);
void tty_init(struct tty *, char *, char *);
void tty_start_tty(struct tty *);
void tty_stop_tty(struct tty *);