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

pressing Enter in the branch view leads to strange behaviour #38

Closed
DrVanScott opened this issue Mar 15, 2012 · 3 comments
Closed

pressing Enter in the branch view leads to strange behaviour #38

DrVanScott opened this issue Mar 15, 2012 · 3 comments

Comments

@DrVanScott
Copy link

Steps to reproduce

  1. start tig in a git'ed folder
  2. press 'H' -> branch view
  3. press 'Enter'. -> screen is devided. Focus is in the top area 'branch view'
  4. press 'm' to switch to main view. -> main view is shown.
  5. Try to move with CursorDown/Up -> suddenly the screen is splitted again. Movement is restricted.

The only way to get out of this situation is to press 'q' multiple times until tig exits.

@enriclluelles
Copy link

I can reproduce this too. One workaround is to get to the main view pressing 'q'

@DrVanScott
Copy link
Author

One workaround is to get to the main view pressing 'q'

This does not work for me: After pressing 'q' the screen switches indeed back to main view. But as soon as i press CursorUp/Down it gets split again and the movement of the marker line is somehow restricted. In the footer it says

Cannot move beyond the last line

though the marker line is on top and there are several lines below...

jonas added a commit that referenced this issue Apr 18, 2012
@jonas
Copy link
Owner

jonas commented Apr 18, 2012

Thanks, I think the new behavior is better. After pressing 'm' the main view will behave as if it was opened using tig <branch>.

@jonas jonas closed this as completed Apr 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants