Terminal locks itself when pressing TAB after a semicolon #14747

Open
opened 2026-01-31 04:18:24 +00:00 by claunia · 0 comments
Owner

Originally created by @luigimannoni on GitHub (Jul 31, 2021).

Windows Terminal version (or Windows build number)

Windows 10.0.19043.1110, Terminal v1.9.1942.0

Other Software

  • Ubuntu on WSL
  • MINGW64 Git Bash

Steps to reproduce

  1. Open a WSL terminal

  2. Write cd; or ls; then press the tab on keyboard

  3. Open a Windows Git Bash (MINGW64)

  4. Write cd; or ls; then press the tab on keyboard

Expected Behavior

When pressing the tab the shell should display to me all the commands/possibilities:

$
Display all 5112 possibilities? (y or n)

Actual Behavior

The terminal hangs itself for an undefined amount of time, sometimes indefinitely when run on WSL. The Windows Git bash suffer the same problem although sometimes it will recover itself.

Hitting CTRL+C won't work

$ cd;^C^C^C^C^C^C^C^C^C^C^C
Originally created by @luigimannoni on GitHub (Jul 31, 2021). ### Windows Terminal version (or Windows build number) Windows 10.0.19043.1110, Terminal v1.9.1942.0 ### Other Software - Ubuntu on WSL - MINGW64 Git Bash ### Steps to reproduce 1. Open a WSL terminal 2. Write `cd;` or `ls;` then press the `tab` on keyboard 1. Open a Windows Git Bash (MINGW64) 2. Write `cd;` or `ls;` then press the `tab` on keyboard ### Expected Behavior When pressing the tab the shell should display to me all the commands/possibilities: ``` $ Display all 5112 possibilities? (y or n) ``` ### Actual Behavior The terminal hangs itself for an undefined amount of time, sometimes indefinitely when run on WSL. The Windows Git bash suffer the same problem although sometimes it will recover itself. Hitting CTRL+C won't work ``` $ cd;^C^C^C^C^C^C^C^C^C^C^C ```
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 04:18:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14747