Closed jens1o closed 7 years ago
There was a change recently that allows you to start inputting into the terminal before the process is ready to go.
I don't think we should pursue what you're proposing though as priming a terminal would be a whole lot of code and data loaded into memory that may not be used. The main costly thing is to launch the process which we really shouldn't prepare in the background.
Okay, I understand your reasons, although I'd happy to use this feature, as I need it every single day. The terminal is very important to me.
@jens1o you proposal would just reduce the amount of time to show the prompt though right, by maybe 0.5-1s? The change that allows typing has vastly improved the situation on Insiders as you can hit ctrl+shift+` and start typing immediately. Am I understanding correctly?
Well, yes, because it takes quite some time powershell booting up at my oldschool laptop. Usually, I hit Ctrl + Ö
twice(so it pops up, it loads, and hides immediately; I have a German keyboard), and once I need it, I can use it without waiting 5-10seconds.
This would mean less typos, because I can see what I'm typing.
Also, programmers are quite lazy. 😛
Sounds like the laptop needs all the resources it can get, preloading a sessions of powershell could be even worse for your system.
If you really want it, extensions can mostly do what you want (launch terminals in the background). Try out https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-terminals maybe?
Okay, I'll take a look. Thanks for your help!
(2 theme extensions excluded)
Feature Request:
Being able to say that I want the terminal to be loaded once everything is loaded and ready to go. Then, init the terminal in the background, and then when I press the keybinding, everything is set up and ready to go.