Skip to content
New issue

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

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

Already on GitHub? # to your account

When exiting vim, cursor goes to first line of terminal instead of the end of it #656

Closed
pavelkouril opened this issue Oct 12, 2015 · 6 comments
Labels
👆 Git Upstream issue in Git for Windows.

Comments

@pavelkouril
Copy link

Seems to happen everytime when the terminal is "full". If there is space, it goes at the end, but when it's full, it goes to the beggining (as you can see in the screenshot) - instead of scrolling the terminal and placing it on the new line.

image

This is especially problemtic when doing git rebase -i, which fills the console window multiple times and result looks pretty messy. :(

Relevant technical info:

  • Vim 7.4.872 (from Git for Windows)
  • cmder 1.2 w/ PowerShell
  • ConEmu 150513 [32]
  • Windows 10 x64

The only "unusual" setting is I have the Quake-style console via ConEmu, but I'm not sure if that causes the issue or not.

@MartiUK MartiUK added the 👆 Git Upstream issue in Git for Windows. label Oct 12, 2015
@MartiUK
Copy link
Member

MartiUK commented Oct 12, 2015

Does the same issue happen when running the same commands with cmd?

@pavelkouril
Copy link
Author

Ok, I just checked that and it does happen as well with cmd in cmder. Pure "cmd.exe" doesn't have this issue.

Also, I updated Git for Wndows to latest version (2.6.1), but it includes the same vim version and the error is still there.

@pavelkouril
Copy link
Author

Another update: I tried disabling the "Quake style" console, and the issue persists even with the "classic" look.

@MartiUK
Copy link
Member

MartiUK commented Oct 13, 2015

Same issue as #628

@MartiUK MartiUK closed this as completed Oct 13, 2015
@pavelkouril
Copy link
Author

Is it really the same as #628? Sure, it is about vim, but that one is about weird colors, not about weird behavior after exiting?

@MartiUK
Copy link
Member

MartiUK commented Oct 13, 2015

@pavelkouril ANSI escape codes much like how colours are displayed do control the cursor position, if vim isn't reporting the codes correctly as in #628, then this would also be a similar issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
👆 Git Upstream issue in Git for Windows.
Projects
None yet
Development

No branches or pull requests

2 participants