Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.5k stars 570 forks source link

con-emu get stuck with GNU screen on WSL when the output is too large #2493

Open link89 opened 1 year ago

link89 commented 1 year ago

Versions

ConEmu build: 221218 stable x64 OS version: Windows 11 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): WSL,bash+WSL, cygwin + WSL

Problem description

When running a command that will generate large output on WSL Gnu Screen, the Conemu terminal will get stuck for a while until the output is finish. It works well when open WSL and GNU screen with Windows' default terminal.

Steps to reproduce

  1. Open WSL shell in Conemu (or start a cmd shell and then run wsl, or start a cygwin shell and then run wsl)
  2. run screen to open a GNU screen
  3. run find / , or other command that will yield large output

Actual results

The terminal stuck at find /. I cannot send ctrl+c to stop it.

Note: The behavior on cygwin + WSL is a little bit different: It shows output in realtime, but when I send ctrl+c, it get stuck, if I do nothing and wait for the command to finished all the output, then everything is fine.

Expected results

The output of find / should be displayed in real time. And I can send ctrl+c to stop it without any problem.