You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
debtCode quality issueshelp wantedIssues identified as good community contribution opportunitiesperfterminalGeneral terminal issues that don't fall under another labelverification-neededVerification of issue is requestedverifiedVerification succeeded
It looks like every single character I type produces a onData event in the terminal. Should this maybe be debounced? What is the scenario for having this API that it needs to fire on each keystroke?
I was actually introducing this at a lower level than this, but it would probably not be enabled for standard vscode terminals microsoft/node-pty#189, it may actually slow things down unless things are going over the wire.
Some debouncing would be a good idea between the renderer and extension host.
In the newly launched vscode extension host window, open a terminal and run an ls command or a command that will output a bunch of data
Back in the original vscode window, in the Debug Console ensure you see the output from the terminal with multiple lines for each event (prior to these changes it would have only be 1 line per event at most)
debtCode quality issueshelp wantedIssues identified as good community contribution opportunitiesperfterminalGeneral terminal issues that don't fall under another labelverification-neededVerification of issue is requestedverifiedVerification succeeded
Activity
Tyriar commentedon Apr 24, 2018
I was actually introducing this at a lower level than this, but it would probably not be enabled for standard vscode terminals microsoft/node-pty#189, it may actually slow things down unless things are going over the wire.
Some debouncing would be a good idea between the renderer and extension host.
Fixes #48513 - buffers terminal onData events
Fixes #48513 - buffers terminal onData events
Fixes #48513 - updated from review comments
15 remaining items
Merge branch 'master' into bug/#48513
Merge pull request #82189 from microsoft/bug/#48513
JacksonKearl commentedon Oct 30, 2019
Is this user-facing? How can I verify?
Tyriar commentedon Oct 30, 2019
Eric Amodio (@eamodio) can you put some steps in please?
eamodio commentedon Oct 30, 2019
To test this you need to create an extension:
npx -p yo -p generator-code -c 'yo code --extensionType=command-ts'to scaffold an extension"enableProposedApi": trueto thepackage.json"activationEvents"in thepackage.jsonto"activationEvents": ["*"]activatefunction inextension.tswith the followinglscommand or a command that will output a bunch of data