Fixed CTRL-S freezing in shell