wbond / sublime_terminal

Launch terminals from the current file or the root project folder
https://packagecontrol.io/packages/Terminal
MIT License
597 stars 117 forks source link

May I change PS.ps1 "$newsize.height = 50" in Settings? #166

Closed h1orz closed 7 years ago

h1orz commented 7 years ago

Is there any way to change "$newsize.height = 50"(PS.ps1) in Settings - User ? I just want to use default height. Thanks so much.

Like ?

$Host.UI.RawUI.WindowSize = New-Object System.Management.Automation.Host.Size(120,24)
twolfson commented 7 years ago

I'm still not 100% of the reason we have height/width set in our .ps1 launcher. I'm going to guess Windows doesn't provide sane defaults as mentioned here with respect to colors:

https://github.com/wbond/sublime_terminal/pull/148#issuecomment-264834603

We can use a custom launcher by creating a .bat and a .ps1 file, then pointing to them. Here's a comment on a previous issue with instructions on how to do that:

https://github.com/wbond/sublime_terminal/issues/118#issuecomment-221448529

h1orz commented 7 years ago

Got it. Thx.