mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-10 11:10:18 +02:00
8f164f7bc5
Previously, when pressing right-arrow when the cursor is already in the last hunk, it would jump back to the beginning of that hunk. This can be confusing if the hunk is long, maybe the start of the hunk is already scrolled off the top of the window, and then pressing right-arrow actually scrolls *backwards*, which is counter-intuitive. It's better to do nothing in this case. Same for left-arrow when the cursor is already in the first hunk, although here the problem is not so severe (unless diff context was increased by a huge amount, and the start of the first hunk is scrolled off the bottom of the window). |
||
---|---|---|
.. | ||
git_commands | ||
git_config | ||
hosting_service | ||
models | ||
oscommands | ||
patch | ||
testdata | ||
types/enums | ||
git_cmd_obj_builder.go | ||
git_cmd_obj_runner.go | ||
git_test.go | ||
git.go |