diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx index e19c8b70982..59991b23ba8 100644 --- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx @@ -1001,7 +1001,12 @@ export function Prompt(props: PromptProps) { [⋯]}> - + } + > + [currently busy] + diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx index 1294ab849e9..246771080c0 100644 --- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx @@ -147,6 +147,7 @@ export function Session() { const [showScrollbar, setShowScrollbar] = kv.signal("scrollbar_visible", false) const [diffWrapMode, setDiffWrapMode] = createSignal<"word" | "none">("word") const [animationsEnabled, setAnimationsEnabled] = kv.signal("animations_enabled", true) + const [busyIndicatorStyle, setBusyIndicatorStyle] = kv.signal<"dynamic" | "static">("busy_indicator_style", "dynamic") const wide = createMemo(() => dimensions().width > 120) const sidebarVisible = createMemo(() => { @@ -579,6 +580,15 @@ export function Session() { dialog.clear() }, }, + { + title: busyIndicatorStyle() === "dynamic" ? "Use static busy indicator" : "Use dynamic busy indicator", + value: "session.toggle.busy_style", + category: "Session", + onSelect: (dialog) => { + setBusyIndicatorStyle((prev) => (prev === "dynamic" ? "static" : "dynamic")) + dialog.clear() + }, + }, { title: "Page up", value: "session.page.up",