Skip to content

Load 'node-pty' async #105345

@bpasero

Description

@bpasero

I see no reason why node-pty needs to be loaded sync, as I think it is only used when an integrated terminal is opened. Loading it via await import('node-pty') could save some ms on startup:

image

//cc @jrieken

Metadata

Metadata

Assignees

Labels

debtCode quality issuesinsiders-releasedPatch has been released in VS Code Insidersperfperf-startupterminalGeneral terminal issues that don't fall under another label

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions