windowsgitwindows-10git-bashtilde

How to stop unwanted tilde character appearing in git bash windows?


How to stop unwanted tilde character appearing in git bash windows?

I am using Git bash in windows 10. Facing an weird problem. Tilde character is automatically appearing in the bash window sometimes which is causing my normal workflow tedious. Why it is appearing and how can I stop it?

enter image description here

For example, After running a pull rebase, I spent some time to have a coffee and after coming back I found three tildes in the console which I never wrote myself.


Solution

  • The only time I have seen this is with a program preventing your computer going to sleep, like caffeine.

    That kind of program would send every 30 seconds a character (see isse 00087), which, if your bash CMD is in focus, would appear on said CMD shell session.

    In your case, it could be another program (since caffeine generates faked F15 keypress which normally would trigger 8~, nbot just ~ alone), but the general idea remains.