fzy icon indicating copy to clipboard operation
fzy copied to clipboard

The prompt fills the screen if the search result line is too long

Open casr opened this issue 8 years ago • 2 comments

Sorry I thought #54 fixed this but I have just found another instance where this occurs with or without scores.

Test case:

cd /path/to/src/fzy
git reset --hard 0ee47c2
make clean ; make
ag --nogroup '^' | ./fzy

and at the prompt do type jjj and then repeatedly switch between having jj and jjj. The prompt soon fills up the screen.

Related to #47.

casr avatar Oct 08 '17 14:10 casr

I should probably add that echo $COLUMNS results in 84.

casr avatar Oct 08 '17 14:10 casr

I think this happens when a result overflows its line because of tab characters. Tabs are currently counted as one screen cell, like any other character.

neuschaefer avatar Oct 09 '17 11:10 neuschaefer

Appears to be fixed for me since 757b31309434d7adcd1361be26c1cd2a44d6ec9b

casr avatar Apr 30 '23 16:04 casr