Skip to content

Commit a4f3aec

Browse files
committed
ignore
1 parent 49ff6a8 commit a4f3aec

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export function DialogModel() {
173173
keybind={[
174174
{
175175
keybind: { ctrl: true, name: "a", meta: false, shift: false, leader: false },
176-
title: connected() ? "Connect provider" : "View more providers",
176+
title: connected() ? "Connect provider" : "View all providers",
177177
onTrigger() {
178178
dialog.replace(() => <DialogProvider />)
179179
},

packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { Locale } from "@/util/locale"
1313

1414
export interface DialogSelectProps<T> {
1515
title: string
16+
placeholder?: string
1617
options: DialogSelectOption<T>[]
1718
ref?: (ref: DialogSelectRef<T>) => void
1819
onMove?: (option: DialogSelectOption<T>) => void
@@ -199,7 +200,7 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
199200
input = r
200201
setTimeout(() => input.focus(), 1)
201202
}}
202-
placeholder="Enter search term"
203+
placeholder={props.placeholder ?? "Search"}
203204
/>
204205
</box>
205206
</box>

0 commit comments

Comments
 (0)