jesseduffield.lazygit/pkg
Stefan Haller 8f164f7bc5 Stop cycling hunks when reaching the end
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).
2023-08-15 11:40:40 +02:00
..
app Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
cheatsheet Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
commands Stop cycling hunks when reaching the end 2023-08-15 11:40:40 +02:00
common Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
config use 'suspend' instead of 'editInTerminal' internally 2023-08-09 22:03:58 +10:00
constants update release notes 2021-04-20 18:34:47 +10:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Stop cycling hunks when reaching the end 2023-08-15 11:40:40 +02:00
i18n Allow deleting remote tags/branches from local tag/branch views (#2738) 2023-08-10 17:39:26 +10:00
integration Add demo for diffing two commits 2023-08-12 17:24:05 +10:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Remove secureexec package 2023-07-30 19:59:51 +10:00
theme Add a "Mark commit as base commit for rebase" command 2023-07-31 08:41:41 +02:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00