bc: hook up line editing with history buffer
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 Dec 2018 09:29:12 +0000 (10:29 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 Dec 2018 09:29:12 +0000 (10:29 +0100)
commit95f93bdc280f93b6f1c30c64bf10a8be38669578
tree881836791f890cb1a802da995562ca2898f7068e
parented849351d11d9f5bb9519baa52e8c1e9d3615ca9
bc: hook up line editing with history buffer

function                                             old     new   delta
push_input_byte                                        -      65     +65
bc_vm_run                                           1875    1905     +30
bc_read_line                                         303     305      +2
bc_num_binary                                        148     150      +2
bc_num_ulong                                         103      92     -11
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/1 up/down: 99/-11)             Total: 88 bytes

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