summary refs log tree commit diff
path: root/scripts/sandman.m
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-17 11:49:56 -0500
committerJune McEnroe <june@causal.agency>2020-02-17 11:49:56 -0500
commitfa29c3791119d9fafac1509d43e8da22c31cda6d (patch)
tree0da2ff38171ce93a286b20db7df5b36f741d9738 /scripts/sandman.m
parentVarious small cleanups (diff)
downloadcatgirl-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 'scripts/sandman.m')
0 files changed, 0 insertions, 0 deletions
cash promptsJune McEnroe 2019-01-12Set PSlit like NetBSD shJune McEnroe 2019-01-12Install gnupg2 from pkgsrc and symlink gpgJune McEnroe 2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe 2019-01-12Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe