bling / fzf.el

A front-end for fzf
GNU General Public License v3.0
366 stars 50 forks source link

Bugfix: allow selection of paths wider than Emacs window #8

Closed brandon-rhodes closed 8 years ago

brandon-rhodes commented 8 years ago

Previously, when fzf finished and printed to the terminal buffer a path that was wider than the Emacs window, term mode was adding a newline at each place where the path reached the right edge of the window and needed to wrap to the next line. With this change, term mode does not add any newlines, so fzf can safely deliver long paths back to Emacs.

brandon-rhodes commented 8 years ago

The symptom of this bug, by the way, was that the user would select a file and hit Enter but be returned back to the buffer they were already working on, instead of being sent to the new file.

bling commented 8 years ago

apologies for the delay. thanks for the fix!