Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x-save the commandline in the current window #17758

Merged
merged 1 commit into from
Aug 21, 2024

Commits on Aug 21, 2024

  1. x-save the commandline in the current window

    By manually setting the `_windowTarget` to `0`, we can make sure to toss
    `x-save` commandlines at the current terminal window (so long as there is one).
    
    Edge cases:
    * You passed other subcommands with `x-save`: Well, we'll do whatever we would
      have normally done for multiple subcommands. We won't `x-save` in the current
      window, we'll obey your settings. That seems to make sense
    * You ran `wt x-save` without an open Terminal window: We'll open a terminal
      window during the process of handling it. That seems sensible.
    
    Closes #17366
    zadjii-msft committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    22866d5 View commit details
    Browse the repository at this point in the history