FFF_MARK_FORMAT mishandles affixes
anakimluke opened this issue · 0 comments
anakimluke commented
Bug 1:
Steps to reproduce:
cd
into a non-empty directory.- Export the environment variable
export FFF_MARK_FORMAT="foo%f"
. - Launch
fff
. - Press
m
. - A
*
suffix will appear on the selected item.
The same bug happens when using %fbar
; but you get an unexpected whitespace prefix, instead.
Expected behavior was for the default affixes to be suppressed.
Bug 2:
Steps to reproduce:
- Same setup as Bug 1, but use
%f
instead offoo%f
. - Notice the addition of both default affixes to the selected item.
The expected behavior was for no affixes to be added at all; the color change and status bar update would alert the user of the selection made.