diff options
author | C. McEnroe | 2020-02-17 11:49:56 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-17 11:49:56 -0500 |
commit | fa29c3791119d9fafac1509d43e8da22c31cda6d (patch) | |
tree | 0da2ff38171ce93a286b20db7df5b36f741d9738 /handle.c | |
parent | b20be7cbad775ec2119e022ed8e4d225a488c90c (diff) |
Scroll the window only once during reflow
ncurses implements scrolling as a memmove of the array of lines pointers, which happens each time a line is added to the bottom of the window, causing a scroll. This would get noticeably slow if WindowLines were increased to just 1024. Should've used a ring buffer, I think.
Diffstat (limited to 'handle.c')
0 files changed, 0 insertions, 0 deletions