summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-05-15 16:44:04 +0000
committernicm <nicm@openbsd.org>2017-05-15 16:44:04 +0000
commite5a58dfc590192402cd30048ecb236420c8bd129 (patch)
treed0c4b57cb5a7f661e42169e79ac7a36ccf795a72 /usr.bin/tmux/tmux.h
parentPut the closing parenthesis in the right spot and fix std-dev calculation (diff)
downloadwireguard-openbsd-e5a58dfc590192402cd30048ecb236420c8bd129.tar.xz
wireguard-openbsd-e5a58dfc590192402cd30048ecb236420c8bd129.zip
Check the terminfo(5) U8 capability and disable using UTF-8 for ACS if
it is present and zero. This is useful for users with terminals or fonts that do not correctly support UTF-8 line drawing characters. GitHub issue 927, reported by Hiroaki Yamazoe and Akinori Hattori.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 07949f0a460..f683295895d 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.768 2017/05/15 07:54:44 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.769 2017/05/15 16:44:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -401,6 +401,7 @@ enum tty_code_code {
TTYC_SS, /* set cursor style, Ss */
TTYC_TC, /* 24-bit "true" colour, Tc */
TTYC_TSL, /* to_status_line, tsl */
+ TTYC_U8,
TTYC_VPA, /* row_address, cv */
TTYC_XENL, /* eat_newline_glitch, xn */
TTYC_XT, /* xterm(1)-compatible title, XT */
@@ -1701,6 +1702,7 @@ int tty_term_flag(struct tty_term *, enum tty_code_code);
const char *tty_term_describe(struct tty_term *, enum tty_code_code);
/* tty-acs.c */
+int tty_acs_needed(struct tty *);
const char *tty_acs_get(struct tty *, u_char);
/* tty-keys.c */