Skip to content

Not visible what you are typing in BASH. #2005

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

Closed
1 task done
m-chichikalov opened this issue Jan 3, 2019 · 6 comments
Closed
1 task done

Not visible what you are typing in BASH. #2005

m-chichikalov opened this issue Jan 3, 2019 · 6 comments

Comments

@m-chichikalov
Copy link

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

$ git --version --build-options
git version 2.16.0.windows.2
cpu: x86_64
built from commit: a56c4f9
sizeof-long: 4

$ cmd.exe /c ver
Microsoft Windows [Version 6.1.7601]

the same issue on
Microsoft Windows [Version 10.0.17763.195]

$ cat /etc/install-options.txt
Editor Option: Nano
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Disabled
Enable Symlinks: Disabled

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

** Bash **

If you run any git command which produces the result longer then the screen of terminal can fit, after you scroll to the end of the output [ ]


press Ctrl+C and start typing, everything what you typing is not visible anymore,

but if you hit Enter, it will execute what you entered.

I strugle with *git-diff, *git-reflog and other cmds when I need more then 30 lines...
It lasts couple years already, did not find time to report, sorry...
Thank you in advance. Happy New Year!

@dscho
Copy link
Member

dscho commented Jan 3, 2019

I think this is an issue we already saw, and fixed. Could you try v2.20.1 (i.e. the current Git for Windows version)?

@m-chichikalov
Copy link
Author

m-chichikalov commented Jan 3, 2019

on Windows 10 I'm using
2.20.1.windows.1 -> the bahvior the same.
Thank you for immediate response.

@m-chichikalov
Copy link
Author

Updated on Windows 7 to 2.20.1, the same, even worst, seems like Ctrl+C is not working any more.
Tested on Windows 10 Ctrl+C -> the same, it stuck for 20...30 seconds, and only after this time you can leave the output of git-diff.

@m-chichikalov
Copy link
Author

BTW, I found that it happends only when you use Ctrl+C to exit the editor. If use "Ctrl+q q" or "zz" everyting works fine.

@dscho
Copy link
Member

dscho commented Jan 9, 2019

it happends only when you use Ctrl+C to exit the editor

Which editor? Where is there an editor involved in git diff? And which editor can you exit via Ctrl+C (vim should not exit when you hit Ctrl+C).

@m-chichikalov
Copy link
Author

Yep, looks like it vim but not sure... During installation I did not change the default one, so probably vim. This is just habbit to exit by Ctrl+C... so, yes, when I use Ctrl+q q everything is fine. Should I close this one?

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

2 participants