Skip to content
Myr

Correct outdated comment

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 01302d0 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/terminal.go+1 added-1 removed
2443 unmodified lines
2444 return current != nil, []*Item{current, current}2445 }24462447 // We would still want to update preview window even if there is no match if2448 // 1. command template contains {q} and the query string is not empty2448 // 1. the command template contains {q}2449 // 2. or it contains {+} and we have more than one item already selected.2450 // To do so, we pass an empty Item instead of nil to trigger an update.2451 if current == nil {2452 current = &minItem
1314 unmodified lines