diff options
| author | Aiden Cline <[email protected]> | 2025-07-14 07:03:02 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-14 07:03:02 -0500 |
| commit | 052a1e7514ba5ea8f77fdb36eeb02a0bb262c3d7 (patch) | |
| tree | c02b8d9f2fb401af6e7b7f18e625094a0ee5b2a7 | |
| parent | 139d6e2818fcbc69a5a4ed7550e6439ab0e07c57 (diff) | |
| download | opencode-052a1e7514ba5ea8f77fdb36eeb02a0bb262c3d7.tar.gz opencode-052a1e7514ba5ea8f77fdb36eeb02a0bb262c3d7.zip | |
fix: file command visual bug (#959)
| -rw-r--r-- | packages/tui/internal/components/dialog/find.go | 6 |
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) { |
