summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-07-14 07:03:02 -0500
committerGitHub <[email protected]>2025-07-14 07:03:02 -0500
commit052a1e7514ba5ea8f77fdb36eeb02a0bb262c3d7 (patch)
treec02b8d9f2fb401af6e7b7f18e625094a0ee5b2a7 /packages
parent139d6e2818fcbc69a5a4ed7550e6439ab0e07c57 (diff)
downloadopencode-052a1e7514ba5ea8f77fdb36eeb02a0bb262c3d7.tar.gz
opencode-052a1e7514ba5ea8f77fdb36eeb02a0bb262c3d7.zip
fix: file command visual bug (#959)
Diffstat (limited to 'packages')
-rw-r--r--packages/tui/internal/components/dialog/find.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/tui/internal/components/dialog/find.go b/packages/tui/internal/components/dialog/find.go
index 3fc6e5994..a7f43842b 100644
--- a/packages/tui/internal/components/dialog/find.go
+++ b/packages/tui/internal/components/dialog/find.go
@@ -131,7 +131,11 @@ func (f *findDialogComponent) View() string {
Render(inputView)
listView := f.list.View()
- return styles.NewStyle().Height(12).Render(inputView + "\n" + listView)
+ return styles.NewStyle().
+ Height(12).
+ Background(t.BackgroundElement()).
+ Width(f.width - 4).
+ Render(inputView + "\n" + listView)
}
func (f *findDialogComponent) SetWidth(width int) {