Autocompletion in git bash for windows flashes/blinks #10698

Open
opened 2026-01-31 02:27:45 +00:00 by claunia · 0 comments
Owner

Originally created by @mlewand on GitHub (Sep 21, 2020).

Environment

Windows build number: Version 10.0.19041.508
Windows Terminal version (if applicable): 1.2.2381.0

Any other software?
Git(git for Windows): 2.28.0

Steps to reproduce

  1. Open a new git bash tab.
  2. Navigate to your windows directory.
  3. Type "cd syst".
  4. Press tab twice.

Expected behavior

Screen doesn't flash, your command is unfolded to "cd system".

Actual behavior

Screen flashes gray for a moment.

If you inspect the gif frame-by-frame it actually inverts colors, rather than make it all single color:

Interestingly it doesn't happen consistently. If I backspace it twice (so that it is "cd syst" again) and press tab, there might be no flash this time.

It's not reproducible in git bash console app itself.

It's a regression that happened over last quarter or so, but I'm surprised I didn't find any existing issue on that.

Here's how the prfilefor bash is defined:

   "profiles": [
        {
            "acrylicOpacity": 1,
            "closeOnExit": true,
            "colorScheme": "Campbell",
            "commandline": "<basePath>\\usr\\bin\\bash.exe\" -i -l",
            "cursorColor": "#FFFFFF",
            "cursorShape": "bar",
            "fontFace": "Consolas",
            "fontSize": 8,
            "guid": "{0504d9fc-deca-44e1-83c4-213dca5023e7}",
            "historySize": 9001,
            "icon": "<basePath>\\mingw64\\share\\git\\git-for-windows.ico",
            "name": "Bash",
            "padding": "0, 0, 0, 0",
            "snapOnInput": true,
            "startingDirectory": "%USERPROFILE%",
            "useAcrylic": true
        },
Originally created by @mlewand on GitHub (Sep 21, 2020). # Environment ``` Windows build number: Version 10.0.19041.508 Windows Terminal version (if applicable): 1.2.2381.0 Any other software? Git(git for Windows): 2.28.0 ``` # Steps to reproduce 1. Open a new git bash tab. 2. Navigate to your windows directory. 3. Type "cd syst". 4. Press <kbd>tab</kbd> twice. # Expected behavior Screen doesn't flash, your command is unfolded to "cd system". # Actual behavior Screen flashes gray for a moment. ![](https://user-images.githubusercontent.com/5353898/93742000-a870b100-fbed-11ea-9bb6-86833984b7ec.gif) If you inspect the gif frame-by-frame it actually inverts colors, rather than make it all single color: ![](https://user-images.githubusercontent.com/5353898/93741988-a3136680-fbed-11ea-833c-87b0a2fd1c0b.png) Interestingly it doesn't happen consistently. If I <kbd>backspace</kbd> it twice (so that it is "cd syst" again) and press tab, there might be no flash this time. It's not reproducible in git bash console app itself. It's a regression that happened over last quarter or so, but I'm surprised I didn't find any existing issue on that. Here's how the prfilefor bash is defined: ``` "profiles": [ { "acrylicOpacity": 1, "closeOnExit": true, "colorScheme": "Campbell", "commandline": "<basePath>\\usr\\bin\\bash.exe\" -i -l", "cursorColor": "#FFFFFF", "cursorShape": "bar", "fontFace": "Consolas", "fontSize": 8, "guid": "{0504d9fc-deca-44e1-83c4-213dca5023e7}", "historySize": 9001, "icon": "<basePath>\\mingw64\\share\\git\\git-for-windows.ico", "name": "Bash", "padding": "0, 0, 0, 0", "snapOnInput": true, "startingDirectory": "%USERPROFILE%", "useAcrylic": true }, ```
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 02:27:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10698