mirror of
https://github.com/tmux/tmux.git
synced 2025-04-25 14:35:39 +00:00
Set IUTF8 again when it exists.
This commit is contained in:
parent
b34af611a5
commit
fd4d3e8793
3
spawn.c
3
spawn.c
@ -395,6 +395,9 @@ spawn_pane(struct spawn_context *sc, char **cause)
|
|||||||
now.c_cc[VERASE] = '\177';
|
now.c_cc[VERASE] = '\177';
|
||||||
else
|
else
|
||||||
now.c_cc[VERASE] = key;
|
now.c_cc[VERASE] = key;
|
||||||
|
#ifdef IUTF8
|
||||||
|
now.c_iflag |= IUTF8;
|
||||||
|
#endif
|
||||||
if (tcsetattr(STDIN_FILENO, TCSANOW, &now) != 0)
|
if (tcsetattr(STDIN_FILENO, TCSANOW, &now) != 0)
|
||||||
_exit(1);
|
_exit(1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user