summaryrefslogtreecommitdiffstats
path: root/src/terminal.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-07-05 14:55:53 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-07-05 23:42:34 +0900
commit63aa5d3b4e9d2bee68d086a90a02e4c417c3b77c (patch)
tree53d9653c43584223927f38b4c454f3fb2640439e /src/terminal.go
parent01302d097c39c3429de65424c6adb75fcac82187 (diff)
Correct outdated comment
Diffstat (limited to 'src/terminal.go')
-rw-r--r--src/terminal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.go b/src/terminal.go
index 2889ed58..5baccf4e 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -2445,7 +2445,7 @@ func (t *Terminal) buildPlusList(template string, forcePlus bool) (bool, []*Item
}
// We would still want to update preview window even if there is no match if
- // 1. command template contains {q} and the query string is not empty
+ // 1. the command template contains {q}
// 2. or it contains {+} and we have more than one item already selected.
// To do so, we pass an empty Item instead of nil to trigger an update.
if current == nil {