aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:01:26 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:01:26 +0000
commit942ea4267d0362fb0031ed995195d9c4e45bcdfb (patch)
tree38daca11f22b6a38798180e0969cb487c8376dbe /tmux.h
parent245685433efa5334f781c2e9fb26caa10b2b2ff9 (diff)
downloadrtmux-942ea4267d0362fb0031ed995195d9c4e45bcdfb.tar.gz
rtmux-942ea4267d0362fb0031ed995195d9c4e45bcdfb.tar.bz2
rtmux-942ea4267d0362fb0031ed995195d9c4e45bcdfb.zip
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index a1b84433..eac4df76 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.7 2009/06/24 05:35:07 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.8 2009/06/24 16:01:02 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1115,6 +1115,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 *);