summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-13 15:25:51 -0400
committerDax Raad <[email protected]>2025-08-13 15:26:13 -0400
commit93b71477e6656005353ce8c71224a99170f4ae2f (patch)
treea1f01cce3febd18f48f0da47a87bf366a5cf83af /packages/tui/internal
parent1357319f6f01532a3544a23d9282f9583a422608 (diff)
downloadopencode-93b71477e6656005353ce8c71224a99170f4ae2f.tar.gz
opencode-93b71477e6656005353ce8c71224a99170f4ae2f.zip
support !shell commands
Diffstat (limited to 'packages/tui/internal')
-rw-r--r--packages/tui/internal/app/app.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/tui/internal/app/app.go b/packages/tui/internal/app/app.go
index 08a79e310..5e9a5a37f 100644
--- a/packages/tui/internal/app/app.go
+++ b/packages/tui/internal/app/app.go
@@ -767,10 +767,10 @@ func (a *App) SendBash(ctx context.Context, command string) (*App, tea.Cmd) {
}
cmds = append(cmds, func() tea.Msg {
- _, err := a.Client.Session.Bash(
+ _, err := a.Client.Session.Shell(
context.Background(),
a.Session.ID,
- opencode.SessionBashParams{
+ opencode.SessionShellParams{
Agent: opencode.F(a.Agent().Name),
Command: opencode.F(command),
},