aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-10 21:36:39 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-10 21:36:39 +0000
commit3ad2ee768181bbcb01d9e42ed7dca14b551e9020 (patch)
treed840186b552f475429328b00027898f35fbfc011 /input.c
parentrender: reflow: initial line is always unallocated (diff)
render: resize: fix cursor positioning at grid wrap around
When current view is at a grid wrap around (last emitted row index is < grid offset), the cursor row ended up being negative which we then mapped to the top line. This is wrong. When we're at a wrap around, re-adjust cursor by adding the grid's row count.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions