Git Bash Mintty Flickering Fix [Solved]

Symptoms & Diagnosis

Git Bash users often encounter a persistent screen flicker when executing commands or resizing the terminal window. This visual glitch typically manifests as a rapid flashing of the background or text, which can cause eye strain and interrupt your workflow.

The issue usually stems from a conflict between the Mintty terminal emulator and Windows hardware acceleration settings. It is particularly common on systems with high-refresh-rate monitors or dual-GPU laptops.

Symptom Probable Cause
Window Flashing on Resize Direct2D Rendering Conflict
Text Ghosting/Tearing Outdated Graphics Drivers
Cursor Flickering Mintty Cursor Settings

Git Bash Mintty flickering fix and terminal rendering settings.

Troubleshooting Guide

To resolve the flickering issue, the first step is to modify the terminal’s rendering engine. Mintty allows you to switch between different graphic drivers to find the one most compatible with your hardware.

1. Disable Hardware Acceleration

Right-click the Git Bash title bar, select “Options,” and navigate to the “Window” section. Look for the “Rendering” dropdown and try switching from “Direct2D” to standard “GDI.”

2. Update Git for Windows

Sometimes the flickering is a known bug in older versions of Mintty. Ensure you are running the latest stable release of Git for Windows.

# Check your current version
git --version

# Update Git for Windows (Windows 10/11)
git update-git-for-windows

3. Adjust Buffer Settings

High scrollback buffer sizes can sometimes lead to rendering lag. Reducing the limit can stabilize the visual output.

# Open your .minttyrc file to check configurations
nano ~/.minttyrc

Prevention

Once you have stabilized the display, you can prevent future flickering by maintaining a clean configuration. Avoid using experimental transparency settings in Mintty, as these often clash with Windows 11 window management.

Regularly update your display drivers via the manufacturer’s website (NVIDIA, AMD, or Intel) rather than relying solely on Windows Update. This ensures that the Direct2D hooks used by modern terminals remain functional.

If problems persist, consider migrating to Windows Terminal. It provides a more modern rendering engine that is natively integrated with the OS, often bypassing the specific rendering bottlenecks found in standalone Mintty installations.