mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-03 07:55:05 +01:00
fix: file command visual bug (#959)
This commit is contained in:
@@ -131,7 +131,11 @@ func (f *findDialogComponent) View() string {
|
|||||||
Render(inputView)
|
Render(inputView)
|
||||||
|
|
||||||
listView := f.list.View()
|
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) {
|
func (f *findDialogComponent) SetWidth(width int) {
|
||||||
|
|||||||
Reference in New Issue
Block a user