fix(app): open terminal pane when creating new terminal (#9926)

pull/9935/head
Ronan Kearns 2026-01-21 22:09:08 -05:00 committed by GitHub
parent 65e267ed3a
commit af1e2887bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -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",