Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 790
Sazzad Hissain Khan Avatar asked Oct 28 '25 18:10

Sazzad Hissain Khan


1 Answers

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.

like image 85
VonC Avatar answered Oct 30 '25 08:10

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!