mirror of
https://github.com/sst/opencode.git
synced 2025-08-03 21:28:14 +00:00
fix: file command visual bug (#959)
This commit is contained in:
parent
139d6e2818
commit
052a1e7514
1 changed files with 5 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue