diff options
| author | adamdotdevin <[email protected]> | 2025-08-13 15:11:20 -0500 |
|---|---|---|
| committer | adamdotdevin <[email protected]> | 2025-08-13 15:11:30 -0500 |
| commit | a4beb60e19996f08062b1fa8bb0ea2c5e614d64a (patch) | |
| tree | ecaa6eca79c486be9d2ac7e52b7b754366d08773 /packages/tui/internal/app | |
| parent | 3f0f910f7b3efdd0b7836a5812821973bbe15817 (diff) | |
| download | opencode-a4beb60e19996f08062b1fa8bb0ea2c5e614d64a.tar.gz opencode-a4beb60e19996f08062b1fa8bb0ea2c5e614d64a.zip | |
chore: rename bash -> shell
Diffstat (limited to 'packages/tui/internal/app')
| -rw-r--r-- | packages/tui/internal/app/app.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/tui/internal/app/app.go b/packages/tui/internal/app/app.go index 5e9a5a37f..ce3a54229 100644 --- a/packages/tui/internal/app/app.go +++ b/packages/tui/internal/app/app.go @@ -80,7 +80,7 @@ type AgentSelectedMsg struct { type SessionClearedMsg struct{} type CompactSessionMsg struct{} type SendPrompt = Prompt -type SendBash = struct { +type SendShell = struct { Command string } type SetEditorContentMsg struct { @@ -755,7 +755,7 @@ func (a *App) SendPrompt(ctx context.Context, prompt Prompt) (*App, tea.Cmd) { return a, tea.Batch(cmds...) } -func (a *App) SendBash(ctx context.Context, command string) (*App, tea.Cmd) { +func (a *App) SendShell(ctx context.Context, command string) (*App, tea.Cmd) { var cmds []tea.Cmd if a.Session.ID == "" { session, err := a.CreateSession(ctx) @@ -776,8 +776,8 @@ func (a *App) SendBash(ctx context.Context, command string) (*App, tea.Cmd) { }, ) if err != nil { - slog.Error("Failed to submit bash command", "error", err) - return toast.NewErrorToast("Failed to submit bash command")() + slog.Error("Failed to submit shell command", "error", err) + return toast.NewErrorToast("Failed to submit shell command")() } return nil }) |
