microsoft/Terminal

Using `--window` in a `wt` action should do what you'd expect

開放

#10,146 建立於 2021年5月21日

 (0 則留言) (0 個反應) (0 位負責人)C++ (9,275 個分叉)batch import
Area-CmdPalArea-RemotingHelp WantedIssue-TaskNeeds-Tag-FixProduct-Terminal

倉庫指標

星標
 (103,173 顆星)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

(from 1:1)

right now, TerminalPage::_HandleExecuteCommandline/TerminalPage::ConvertExecuteCommandlineToActions just tries to get the actions from the commandline, and tries to execute them. It would be really neat if we could determine that --window _quake was passed in that commandline, and toss the actions to the window you'd expect.

If there's no provided --window, then just execute the commandline in the current window. Otherwise, send the commandline to the monarch, and let them deal with it.

That would mean the command palette could get this functionality for commandline mode as well.

貢獻者指南