wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.28k stars 781 forks source link

Add the ability to create a new wezterm window in the command line that is part of the same session as the terminal it is called from #887

Closed Anomalocaridid closed 3 years ago

Anomalocaridid commented 3 years ago

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like I want to be able to create a new wezterm window using the command line that is part of the same session.

Describe alternatives you've considered Using the wezterm start command works fine, but since it opens a window in a new session, it may become problematic when used in conjunction with the features requested by issues #886 and #888. Using the keyboard shortcut for a new window works fine, but it is not a viable solution for use in a script.

Additional context I created a plugin for the text editor Kakoune that aims to provide integration with WezTerm that is similar to the integration that Kakoune provides with other terminal emulators and terminal multiplexers by default. This would allow me to add functionality that is currently missing when compared with the default terminal integration.

wez commented 3 years ago

Did you try wezterm cli spawn --help? (I think it may be missing a flag to actually allow a new window to spawn, but the intent is that it would allow that)

Anomalocaridid commented 3 years ago

Thank you!

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.