Bug of pseudo terminal with input being disabled was fixed