Considerable input (typing) lag after lots of output #21382

Open
opened 2026-01-31 07:43:07 +00:00 by claunia · 0 comments
Owner

Originally created by @cklutz on GitHub (Mar 11, 2024).

Windows Terminal version

1.19.230925002-preview

Windows build number

10.0.19045.0

Other Software

PowerShell Core 7.4.0

Steps to reproduce

  • In a pane enter some text/commands. Hence, the "typical" input speed. Using movement commands or simply typing random text is OK.
  • In the same pane, run commands that produce "lots of"(!) output. Like repeatedly run large/long builds (msbuild /v:d). It is hard to quantify, but I would say at least couple of 10.000 lines, over the course of a day maybe.
  • Again in the same pane, enter text, move cursor, etc. Performance has degraded considerably. Typing is barely possible, time between hitting the key and visual output are at least a couple of seconds.

When you close the pane and open a new one, (or use a another pane or tab in the same Terminal instance), everything is normal. Only the pane with lots of output is affected it seems.

Note: I have seen this behavior with older versions of Terminal (and PowerShell) and Windows, it is only now that I report it. I'm aware that it might be something environmental or not Terminal related, but I haven't found any existing issue in this or other repos.

Expected Behavior

No recognizable input lag.

Actual Behavior

Considerable input lag.

Originally created by @cklutz on GitHub (Mar 11, 2024). ### Windows Terminal version 1.19.230925002-preview ### Windows build number 10.0.19045.0 ### Other Software PowerShell Core 7.4.0 ### Steps to reproduce * In a pane enter some text/commands. Hence, the "typical" input speed. Using movement commands or simply typing random text is OK. * In the same pane, run commands that produce "lots of"(!) output. Like repeatedly run large/long builds (msbuild /v:d). It is hard to quantify, but I would say at least couple of 10.000 lines, over the course of a day maybe. * Again in the same pane, enter text, move cursor, etc. Performance has degraded considerably. Typing is barely possible, time between hitting the key and visual output are at least a couple of seconds. When you close the pane and open a new one, (or use a another pane or tab in the same Terminal instance), everything is normal. Only the pane with lots of output is affected it seems. Note: I have seen this behavior with older versions of Terminal (and PowerShell) and Windows, it is only now that I report it. I'm aware that it might be something environmental or not Terminal related, but I haven't found any existing issue in this or other repos. ### Expected Behavior No recognizable input lag. ### Actual Behavior Considerable input lag.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21382