From 8cc820668a7a95f343a9eeca2af13e80d90108cd Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Tue, 3 Oct 2023 13:08:03 +0200 Subject: [PATCH] Fix an incorrect comment It sounds like at some point we only showed a slash as the search prompt, but I dug a bit through the history and couldn't find a state of the code where that was the case. (shrug) --- pkg/gui/views.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gui/views.go b/pkg/gui/views.go index 434cbd20f..6ffde7d41 100644 --- a/pkg/gui/views.go +++ b/pkg/gui/views.go @@ -53,7 +53,7 @@ func (gui *Gui) orderedViewNameMappings() []viewNameMapping { {viewPtr: &gui.Views.AppStatus, name: "appStatus"}, {viewPtr: &gui.Views.Information, name: "information"}, {viewPtr: &gui.Views.Search, name: "search"}, - // this view takes up one character. Its only purpose is to show the slash when searching + // this view shows either the "Search:" prompt when searching, or the "Filter:" prompt when filtering {viewPtr: &gui.Views.SearchPrefix, name: "searchPrefix"}, // popups.