Set IUTF8 again when it exists.

This commit is contained in:
Nicholas Marriott 2020-05-26 06:15:13 +01:00
parent b34af611a5
commit fd4d3e8793

View File

@ -395,6 +395,9 @@ spawn_pane(struct spawn_context *sc, char **cause)
now.c_cc[VERASE] = '\177';
else
now.c_cc[VERASE] = key;
#ifdef IUTF8
now.c_iflag |= IUTF8;
#endif
if (tcsetattr(STDIN_FILENO, TCSANOW, &now) != 0)
_exit(1);