diff options
author | Ron Yorston <rmy@pobox.com> | 2016-04-26 16:40:18 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2016-04-26 16:40:18 +0100 |
commit | 0d9e95c2dbc422ffa3db10132db3154357c461be (patch) | |
tree | 3b38aa7146062aadb7bd7ad4e7923bcdfd74ecb5 /TODO | |
parent | b66e6daaddddd696a802349bbec1eb29add35b03 (diff) | |
download | busybox-w32-0d9e95c2dbc422ffa3db10132db3154357c461be.tar.gz busybox-w32-0d9e95c2dbc422ffa3db10132db3154357c461be.tar.bz2 busybox-w32-0d9e95c2dbc422ffa3db10132db3154357c461be.zip |
winansi: speed up clearing of screen
Various tasks on the shell command line (e.g. backspace, DEL,
reverse search) were found to be slow when the console screen
buffer was very large. This was because the entire buffer was
being cleared in erase_till_end_of_screen().
Rewrite erase_till_end_of_screen() to only clear to the end of the
visible screen and to be tidier. (Based on a suggestion by GitHub
user avih.)
Also, modify move_cursor to use coordinates relative to the current
display (as ANSI escapes expect) rather than relative to the screen
buffer.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions