diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-18 08:42:05 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-18 08:42:05 +0300 |
| commit | c12311da999be4cafba5d41075ee8108567511db (patch) | |
| tree | 883165e21e654ab072adfaef27b95324fe8f92c6 /tables.go | |
| parent | 7d18a9d77eca3b286849ae0a134f9d7277249bef (diff) | |
Chore: linter complaints
Diffstat (limited to 'tables.go')
| -rw-r--r-- | tables.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -928,11 +928,12 @@ func makeFilePicker() *tview.Flex { } } // Update status line based on search state - if searching { + switch { + case searching: statusView.SetText("Search: " + searchQuery + "_") - } else if searchQuery != "" { + case searchQuery != "": statusView.SetText("Current: " + dir + " (filter: " + searchQuery + ")") - } else { + default: statusView.SetText("Current: " + dir) } } |
