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

(regression) Screen flickers when tabbing in git bash(affects 1.19.xxx) #16803

Closed
sledgehammer999 opened this issue Mar 3, 2024 · 3 comments
Closed
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@sledgehammer999
Copy link

Windows Terminal version

1.19.10573.0

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

  1. Integrate git bash (from "bash for windows") in the Terminal
  2. Open in any directory
  3. <tab><tab> on an empty prompt
  4. It will take a while until bash prints "Display all XXXX possibilities? (y or n)". A few seconds before that the terminal screen will flicker/redraw. It momentarily flashes the whole screen with a lighter color than the background. The same is observed when you answer n in the bash question.

Last known working version: 1.18.10301.0
The bug seems to have started with the 1.19.x series.

Expected Behavior

Terminal screen to not flicker/redraw/flash.

Actual Behavior

Terminal screen flickers/redraws/flashes.

@sledgehammer999 sledgehammer999 added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Mar 3, 2024
Copy link

github-actions bot commented Mar 3, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@sledgehammer999
Copy link
Author

sledgehammer999 commented Mar 3, 2024

Apparently the 1.19.xxx series have implemented more support for terminals/shells.
Thanks to the AI bot which pointed me to #7200.

The flickering is the visual bell.
To fix the issue:

  1. Open C:\Program Files\Git\etc\inputrc (write protected location, open editor with admin rights)
  2. Change line set bell-style visible to set bell-style none

@sledgehammer999
Copy link
Author

Funny thing is that "Git for Windows" default terminal (aka mintty) doesn't support the visual bell. Only the audible one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

1 participant