microsoft/Terminal

The input speed of ConPTY / ConHost is very slow.

Open

#13.594 aperta il 25 lug 2022

Vedi su GitHub
 (9 commenti) (2 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-InputArea-VTHelp WantedIssue-BugProduct-Conpty

Metriche repository

Star
 (35.764 star)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

Windows Terminal version

1.12.10982.0

Windows build number

10.0.19043.0

Other Software

https://github.com/UserExistsError/conpty v0.1.0

https://github.com/trzsz/trzsz-go v0.1.9

Steps to reproduce

  1. Install trzsz-go, download trzsz_0.1.9_windows_x86_64.zip and unzip, you will get trzsz.exe, trz.exe and tsz.exe.

  2. open cmd

  3. execute trzsz cmd

  4. execute trz, a dialog will pop up.

  5. choose a file in the dialog, the file will be uploaded to the current directory.

Expected Behavior

The trzsz create a ConPTY process ( cmd ), and send the file content as keystrokes.

The trz receive the file content and save to the current directory.

The upload speed should be 2MB/s at least. Same as the download speed.

Actual Behavior

The upload speed is only about 128KB/s. Looks like the keystrokes are speed limited.

Guida contributor