diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-08-16 18:02:36 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-08-29 17:08:23 +0900 |
| commit | efbcd5a6833939c3e9c1347587fd5118e8f3705e (patch) | |
| tree | 3bf7ff5bab08caf3f66507b486ca13d8d15f8416 /src/reader_test.go | |
| parent | 6a67712944bbba3bfbb04e6ad02f7ae7d55cd238 (diff) | |
| download | fzf-efbcd5a6833939c3e9c1347587fd5118e8f3705e.tar.gz | |
Require quotes on both sides for boundary matching even in --exact mode
Only requiring '-suffix in --exact mode is confusing and not
straightforward. Requiring '-prefix in --exact mode means that
the users can experience unintended mode switches while typing.
e.g.
'it -> fuzzy (many results)
'it' -> boundary (few results)
'it's -> fuzzy (many results)
However, user who intends to input a boundary query should not be
interested in the intermediate results, and the number of matches
decreases as she types, so it should be okay.
On the other hand, user who does intend to type "it's" will be surprised
by the sudden decrease of the match count, but eventually get the right
result.
Diffstat (limited to 'src/reader_test.go')
0 files changed, 0 insertions, 0 deletions
