microsoft / microsoft/terminal

keyboard input randomly hangs when typing into an MSYS2 MINGW64 shell and newly established SSH remotes.

Open
#15,937 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Input Issue-Bug Needs-Repro Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Windows Terminal version

1.18.1462.0

Windows build number

Microsoft Windows NT 10.0.19045.0

Other Software

Command line = C:/msys64/usr/bin/bash --login

Steps to reproduce

Open a new terminal tab, ssh to a remote machine. Randomly throughout the day these shells will just stop accepting keyboard input and rarely resuscitate after a long delay.

Expected Behavior

A terminal experience which doesn't hang so often.

Actual Behavior

Opening new shell tabs and sshing to hosts can sometimes hang with no way to type any further (Not even Enter+Esc+. will kill ssh when it hangs like this at the prompt of a remote).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the intermittent input hang using the reported Windows Terminal version, Windows build, MSYS2 MINGW64 bash command, and an SSH connection to a remote machine. Compare new shell tabs with newly established SSH sessions and identify a reliable reproduction; done means keyboard input no longer hangs in the affected scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli, networking, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.