Separate filter from selections in the ui ruler (#1223)

This commit is contained in:
Joe Lim authored and GitHub committed 2023-05-13 14:19:50 +03:00
1 parent 35990bed12
commit 8f630e0cab
6 files changed
+28 -15

No files matched your search

+2 -2
View File
@@ -490,9 +490,9 @@ func (e *setExpr) eval(app *app, args []string) {
toks := strings.Split(e.val, ":")
for _, s := range toks {
switch s {
case "df", "acc", "progress", "selection", "ind":
case "df", "acc", "progress", "selection", "filter", "ind":
default:
app.ui.echoerr("ruler: should consist of 'df', 'acc', 'progress', 'selection', or 'ind' separated with colon")
app.ui.echoerr("ruler: should consist of 'df', 'acc', 'progress', 'selection', 'filter' or 'ind' separated with colon")
return
}
}