aboutsummaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-09-26 22:04:05 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-09-29 21:46:04 +0200
commitcab0d2ce3f375084dd2de764e760ccc229689b71 (patch)
tree9fe5e0312d9d9c65e979b4a5a11ec5c2d3979175 /array.c
parent5b3c070e979b4a61659eae33668d702ef97291a2 (diff)
downloadvis-cab0d2ce3f375084dd2de764e760ccc229689b71.tar.gz
vis-cab0d2ce3f375084dd2de764e760ccc229689b71.tar.xz
view: change cursor line up/down off screen movements
Previously the cursor would be placed in the middle of the screen thus causing a distracting jump. Instead try to scroll the view port by only 1 line when the cursor is moved out of the visible area. The current implementation might be quite a bit slower than before, use page-wise scrolling to skip large regions. At some point we should optimize motions like 1000j. Close #301
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions