summaryrefslogtreecommitdiff
path: root/popups.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-21 10:15:36 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-21 10:15:36 +0300
commit85b11fa9ffd5f72b0b76200d2fa590960273410b (patch)
treef2e46eaea08ab673d75d4a196e4093948e96ee63 /popups.go
parent1675af98d40a3f1a1d2dd57caaa7a51896fd0b01 (diff)
Chore: status line, linter complaints
Diffstat (limited to 'popups.go')
-rw-r--r--popups.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/popups.go b/popups.go
index f584f3c..b0ee4ae 100644
--- a/popups.go
+++ b/popups.go
@@ -388,7 +388,7 @@ func showFileCompletionPopup(filter string) {
app.SetFocus(widget)
}
-func updateWidgetColors(theme tview.Theme) {
+func updateWidgetColors(theme *tview.Theme) {
bgColor := theme.PrimitiveBackgroundColor
fgColor := theme.PrimaryTextColor
borderColor := theme.BorderColor
@@ -476,7 +476,7 @@ func showColorschemeSelectionPopup() {
tview.Styles = theme
go func() {
app.QueueUpdateDraw(func() {
- updateWidgetColors(theme)
+ updateWidgetColors(&theme)
})
}()
}