mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-03 06:50:26 +00:00
fix(app): open terminal pane when creating new terminal (#9926)
This commit is contained in:
parent
65e267ed3a
commit
af1e2887bd
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue