Age | Commit message (Collapse) | Author |
|
Remove code that is no longer relevant after the removal of ncurses
renderer. This commit also fixes background color issue on tcell-based
FullscreenRenderer (Windows).
|
|
This fixes foreground color inside preview window when the text has ANSI
attributes except for foreground color.
Close #1046
|
|
|
|
It is reported that it can have an unwanted side effect of clearing the
screen on terminal emulators that do not properly support it.
Patch suggested by @arya.
Close #1011
|
|
|
|
|
|
- Fix incorrect display of the last line when more than a line is
wrapped above
- Avoid unnecessary flickering of the window
|
|
Related: https://gist.github.com/junegunn/4963bab6ace453f7f529d2d0e01b1d85
Close #974
|
|
fzf should immediately continue consuming the buffer after discarding
bracketed paste mode sequence.
Close #951
|
|
- Update install script to download Windows binary if $TERM == cygwin
- Unset TERM if $TERM == cygwin (#933)
- Always use cmd.exe instead of $SHELL when running commands
|
|
|
|
Due to go std lib uses poller for os.File introducing in this commit:
https://github.com/golang/go/commit/c05b06a12d005f50e4776095a60d6bd9c2c91fac
There are two changes to watch out:
1. os.File.Fd will always return a blocking fd except on bsd.
2. os.File.Read won't return EAGAIN error for nonblocking fd.
So
For 1, we just get tty's fd in advance and then set its block mode.
For 2, we use read syscall directly to get what we wanted error(EAGAIN).
Fix issue #910.
Signed-off-by: Tw <tw19881113@gmail.com>
|
|
# Move cursor to the top result whenever the query string is changed
fzf --bind change:top
Close #925
|
|
|
|
Close #906
|
|
Do not automatically decide to use alternate screen when the value of
height exceeds the height of the terminal.
# Use alternate screen
fzf
fzf --height 100%
fzf --no-height
# Still use current screen
fzf --height 10000
|
|
|
|
|
|
|
|
Fix broken preview border. Reported by Thomas Sattler.
fzf --bind 'enter:execute(date)' --preview=date --reverse
|
|
Goes well with --height
|
|
|
|
- Move cursor to the top-left corner when starting a command in
alternate screen
- Fix cursor position when returning to alternate screen when fzf is
running in full screen mode
|
|
Close #825
|
|
|
|
|
|
|
|
|
|
Close #818
|
|
- Remove unnecessary scrolling
- Allow us to use `--height 100%` under Neovim terminal for 24-bit colors
Related:
- #789
- https://github.com/neovim/neovim/issues/4151
|
|
Also revert the workaround in Vim plugin introduced in fa7c897.
Related: #814
|
|
Close #805
|
|
|
|
|
|
|
|
|
|
|
|
Close #798
|
|
|
|
|
|
Excerpt from http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x361.html:
> - Save cursor position:
> \033[s
> - Restore cursor position:
> \033[u
>
> The latter two codes are NOT honoured by many terminal emulators. The
> only ones that I'm aware of that do are xterm and nxterm - even though
> the majority of terminal emulators are based on xterm code. As far as
> I can tell, rxvt, kvt, xiterm, and Eterm do not support them. They are
> supported on the console.
They are also unsupported by Neovim terminal.
|
|
|
|
|
|
Add `:wrap` to --preview-window to wrap lines instead
Close #756
|
|
TAGS=tcell make install
printf "\x1b[38;2;100;200;250mTRUECOLOR\x1b[m\n" |
TERM=xterm-truecolor fzf --ansi
|
|
: | fzf --preview 'echo foo'
|
|
|
|
|
|
To build fzf with ncurses 6 on macOS:
brew install homebrew/dupes/ncurses
LDFLAGS="-L/usr/local/opt/ncurses/lib" make install
|
|
Also reduce the default delay to 50ms. We should not set it to 0ms as it
breaks escape sequences on WSL. If 50ms is not enough, one can increase
the delay by setting $ESCDELAY to a larger value.
|