Open vefatica opened 4 weeks ago
With the setup you've got, that's what I'd expect. -F
only affects the creation of new windows. Since your settings are such that new instances of wt
open in the current window by default, the second commandline you provided will get sent to the current window, and not make a new one.
I could have swore there was an issue around here for "a CLI flag to toggle the fullscreen state of the window". but I can't find it currently
I don't understand the "setup" part.
-F only affects the creation of new windows
Is that the bottom line?
I suppose the question is whether -F
should full-screen the window even if it already existed, right? (I personally think it would make sense.)
Looking at the "wt /?" message box, it seems that the "options" do not affect an already existing window while the "subcommands" do (or can). No doubt there's a distinction between the ways the two are handled. I wanted -F to affect the current window. I could simulate F11 but that would require WT to have input focus.
Is there a message that can be sent to the Cascadia window that will cause it to go fullscreen?
WindowsTerminal 1.21.2408.23001
In an already-running WT, this command splits the current pane and focuses the old one.
wt sp -p TCC33 -V ; move-focus left
This command does the same thing, not making it fullscreen.
wt -F sp -p TCC33 -V ; move-focus left
Is that as expected?