diff options
author | June McEnroe <june@causal.agency> | 2020-02-17 11:49:56 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-17 11:49:56 -0500 |
commit | fa29c3791119d9fafac1509d43e8da22c31cda6d (patch) | |
tree | 0da2ff38171ce93a286b20db7df5b36f741d9738 /chat.h | |
parent | Various small cleanups (diff) | |
download | catgirl-fa29c3791119d9fafac1509d43e8da22c31cda6d.tar.gz catgirl-fa29c3791119d9fafac1509d43e8da22c31cda6d.zip |
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 '')
0 files changed, 0 insertions, 0 deletions