aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-15 17:56:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-15 17:56:16 +0000
commit9e6404be113f28f6755049075220460c08cecdeb (patch)
tree42d2ff1da52179170cc7ce160320abdb1c322f81 /scripts
parentterm: reset: use grid_row_alloc() with initialize=true (diff)
render: reflow: bug: fix off-by-one
The 'last-row' variable points to the last row the cursor is *on*, thus it's not a counter, and we need to add one when calculating the new grid offsets, or we get an off-by-one error. With this, there's no longer any need to scroll the reflowed text.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions