You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I've discovered that if I stage a file when the index is empty, the cursor goes down. For example, after staging status the cursor moves down to init.vim:
However, if I stage a file when the index is not empty, the cursor goes up. For example, after staging init.vim the cursor moves up to tmux-sessionist:
It's a bit confusing, is this behavior intended? I think a more friendly way would be always moving the cursor down on staging unless it's the last entry in the group (staged or untracked files).
I see this behavior on tig v2.3.0 and on the master branch.
The text was updated successfully, but these errors were encountered:
In the status view, when the `Changes to be committed` section is empty,
a line with `(no files)` is inserted. This line disappears when the fist
file is staged, this has to be taken into account for the cursor position.
Fixesjonas#842, jonas#1028
In the status view, when the `Changes to be committed` section is empty,
a line with `(no files)` is inserted. This line disappears when the first
file is staged, this has to be taken into account for the cursor position.
Fixesjonas#842, jonas#1028
Hello! I've discovered that if I stage a file when the index is empty, the cursor goes down. For example, after staging
status
the cursor moves down toinit.vim
:However, if I stage a file when the index is not empty, the cursor goes up. For example, after staging
init.vim
the cursor moves up totmux-sessionist
:It's a bit confusing, is this behavior intended? I think a more friendly way would be always moving the cursor down on staging unless it's the last entry in the group (staged or untracked files).
I see this behavior on tig v2.3.0 and on the master branch.
The text was updated successfully, but these errors were encountered: