lineedit: print prompt and editing operations to stderrmaster
commitfd47f056765aed515f4c71118813f07be1402bee
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 13 Apr 2024 16:40:20 +0000 (13 18:40 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 13 Apr 2024 16:40:20 +0000 (13 18:40 +0200)
tree5e2d6f5c01003989629aa898344b278d0cd3c6ec
parent681e4f5d922b9f0ea968238750d5c5d748eac809
lineedit: print prompt and editing operations to stderr

For shells, this is mandated by standards

function                                             old     new   delta
input_backward                                       215     231     +16
read_line_input                                     3015    3028     +13
draw_custom                                           66      78     +12
put_cur_glyph_and_inc_cursor                         149     159     +10
put_prompt_custom                                     47      56      +9
show_history                                          40      46      +6
input_tab                                            927     933      +6
input_delete                                         136     142      +6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 8/0 up/down: 78/0)               Total: 78 bytes

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