Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cursor position after staging #96

Closed
jreybert opened this issue Oct 12, 2016 · 5 comments
Closed

Fix cursor position after staging #96

jreybert opened this issue Oct 12, 2016 · 5 comments

Comments

@jreybert
Copy link
Owner

Cursor should stay at relative same place (not necessarily same line) after staging.

Proposed by @ntcong

@alok
Copy link

alok commented Nov 20, 2016

I get the inverse issue: when I unstage a change, the cursor jumps to the top.

@jreybert
Copy link
Owner Author

Could you be more precise?

  • do you unstage a hunk or an entire file?
  • what is its position in the staged list?

@alok
Copy link

alok commented Nov 21, 2016

  • Single hunk.
  • Didn't check.

It's odd but this issue doesn't consistently appear, so it may be some other issue. I'll keep testing it and let you know.

@jreybert
Copy link
Owner Author

jreybert commented Feb 1, 2017

@ntcong @yevhen-m this is even better now!

@yevhen-m
Copy link

yevhen-m commented Feb 1, 2017

@jreybert thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants