Skip to content

The open source coding agent.

TypeScript

fix: file command visual bug (#959)

Aiden Cline052a1e7514ba
diff --git a/packages/tui/internal/components/dialog/find.go b/packages/tui/internal/components/dialog/find.go
index 3fc6e599407..a7f43842b06 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) {