]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0643: terminal: cursor may end up on invalid position v9.1.0643
authorChristian Brabandt <cb@256bit.org>
Mon, 29 Jul 2024 19:19:51 +0000 (21:19 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 29 Jul 2024 19:19:51 +0000 (21:19 +0200)
commit1254e6db8360fac99561ef0f10ac3cb1bfef30b1
treee87afe8269ba35d38bdc01e393ec17c141b06a09
parent9d997addc7bd0fd132a809cf497ed816e61fcd25
patch 9.1.0643: terminal: cursor may end up on invalid position

Problem:  terminal: cursor may end up on invalid position after reducing
          the scrollback lines (user202729)
Solution: After reducing the scrollback size, check the cursor position,
          making sure it does not end up on an invalid line

fixes: #15351

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/terminal.c
src/version.c