vi: discover window size even on serial consoles. optional
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 19 Apr 2010 05:09:30 +0000 (22:09 -0700)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 19 Apr 2010 05:09:30 +0000 (22:09 -0700)
commitc175c4664734e5a363d8cc8668c08f551eff1485
tree7a71009d3d5a9b3a0e8be65bf020f4605cee4bae
parentdef4783a8a8b00f58d224ff6735d3532809aeb54
vi: discover window size even on serial consoles. optional

function                                             old     new   delta
edit_file                                            671     761     +90
wh_helper                                              -      57     +57
query_screen_dimensions                               54      63      +9
ar_main                                              533     542      +9
refresh                                              767     773      +6
vi_main                                              242     243      +1
text_yank                                             56      54      -2
get_terminal_width_height                            180     135     -45
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 5/2 up/down: 172/-47)           Total: 125 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/Config.in
editors/vi.c
libbb/read_key.c
libbb/xfuncs.c