summary refs log tree commit diff
path: root/command.c
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 /command.c
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 'command.c')
0 files changed, 0 insertions, 0 deletions
='2019-02-10 17:41:16 -0500'>2019-02-10Skip only one character if a match fails due to parentJune McEnroe 2019-02-10Remove pattend from hiJune McEnroe 2019-02-10Replace uses of pattend with newline patternsJune McEnroe 2019-02-10Add hi debug outputJune McEnroe 2019-02-10Actually do HTML &quot; escapingJune McEnroe 2019-02-10Set git commit.verboseJune McEnroe 2019-02-10Add back missing static keywordJune McEnroe