Set IUTF8 again when it exists.

pull/2270/head
Nicholas Marriott 2020-05-26 06:15:13 +01:00
parent b34af611a5
commit fd4d3e8793
1 changed files with 3 additions and 0 deletions

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);