ash: fix bad interaction of "stty -echo" + ASK_TERMINAL
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 11 Nov 2009 02:19:30 +0000 (03:19 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 11 Nov 2009 02:19:30 +0000 (03:19 +0100)
commit13ad90627c85c0d744dfa28637fb80e89677a37f
treede2415eeecb648ff57fcc5b6c022e4dc6ac0cce8
parentb6d221ac9ca16645b3fd24870496dd6cbb0fc1fa
ash: fix bad interaction of "stty -echo" + ASK_TERMINAL

function                                             old     new   delta
read_line_input                                     4820    4886     +66
put_prompt                                           108      47     -61
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 66/-61)              Total: 5 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/lineedit.c