fix(app): open terminal pane when creating new terminal (#9926)
parent
65e267ed3a
commit
af1e2887bd
|
|
@ -509,7 +509,10 @@ export default function Page() {
|
|||
description: language.t("command.terminal.new.description"),
|
||||
category: language.t("command.category.terminal"),
|
||||
keybind: "ctrl+alt+t",
|
||||
onSelect: () => terminal.new(),
|
||||
onSelect: () => {
|
||||
if (terminal.all().length > 0) terminal.new()
|
||||
view().terminal.open()
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "steps.toggle",
|
||||
|
|
|
|||
Loading…
Reference in New Issue