lineedit: mostly revert recent wrong logic in "ask terminal" code

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
1 file changed