mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 17:39:09 +00:00
Sync OpenBSD patchset 763:
Ugh. Pass the right type into tty_term_has. Teaches me to make last minute changes :-/.
This commit is contained in:
parent
5126037ea0
commit
29f04400b5
4
tty.c
4
tty.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tty.c,v 1.194 2010-09-18 15:43:53 tcunha Exp $ */
|
/* $Id: tty.c,v 1.195 2010-09-18 15:45:03 tcunha Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -47,7 +47,7 @@ void tty_cell(struct tty *,
|
|||||||
const struct grid_cell *, const struct grid_utf8 *);
|
const struct grid_cell *, const struct grid_utf8 *);
|
||||||
|
|
||||||
#define tty_use_acs(tty) \
|
#define tty_use_acs(tty) \
|
||||||
(tty_term_has(tty, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
|
(tty_term_has(tty->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
|
||||||
|
|
||||||
void
|
void
|
||||||
tty_init(struct tty *tty, int fd, char *term)
|
tty_init(struct tty *tty, int fd, char *term)
|
||||||
|
Loading…
Reference in New Issue
Block a user