mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
UTF-8 detection is broken on sparc64; disable until I get time to test it further.
This commit is contained in:
parent
6208128fa2
commit
0fdd47660a
6
tty.c
6
tty.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tty.c,v 1.99 2009-05-19 16:08:35 nicm Exp $ */
|
/* $Id: tty.c,v 1.100 2009-06-24 17:31:03 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -136,7 +136,9 @@ tty_start_tty(struct tty *tty)
|
|||||||
int what;
|
int what;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
tty_detect_utf8(tty);
|
tty_detect_utf8(tty);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (tcgetattr(tty->fd, &tty->tio) != 0)
|
if (tcgetattr(tty->fd, &tty->tio) != 0)
|
||||||
fatal("tcgetattr failed");
|
fatal("tcgetattr failed");
|
||||||
@ -208,6 +210,7 @@ tty_stop_tty(struct tty *tty)
|
|||||||
tty_raw(tty, "\033[?1000l");
|
tty_raw(tty, "\033[?1000l");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
void
|
void
|
||||||
tty_detect_utf8(struct tty *tty)
|
tty_detect_utf8(struct tty *tty)
|
||||||
{
|
{
|
||||||
@ -288,6 +291,7 @@ tty_detect_utf8(struct tty *tty)
|
|||||||
if (tcsetattr(tty->fd, TCSANOW, &old_tio) != 0)
|
if (tcsetattr(tty->fd, TCSANOW, &old_tio) != 0)
|
||||||
fatal("tcsetattr failed");
|
fatal("tcsetattr failed");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
tty_fill_acs(struct tty *tty)
|
tty_fill_acs(struct tty *tty)
|
||||||
|
Loading…
Reference in New Issue
Block a user