mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Set IUTF8 again when it exists.
This commit is contained in:
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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user