Skip to content
Myr

Hide cursor while rendering the screen

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #2781 Fix #2588 Fix #1805 Fix https://github.com/junegunn/fzf.vim/issues/1370 Fix https://github.com/junegunn/fzf.vim/issues/1060

authored by Junegunn Choi · committed by Junegunn Choi · parent d56f605 · Browse files · 2 files+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−1 removed

  • other:+2 added−1 removed

2 files+2 added−1 removed

modified:src/tui/light.go+1 added-1 removed
58 unmodified lines
59}6061func (r *LightRenderer) flush() {62 if r.queued.Len() > 0 {63 fmt.Fprint(os.Stderr, r.queued.String())63 fmt.Fprint(os.Stderr, "\x1b[?25l"+r.queued.String()+"\x1b[?25h")64 r.queued.Reset()65 }66}67
920 unmodified lines
modified:CHANGELOG.md+1 added
1 unmodified line
2=========340.30.05------6- Fixed cursor flickering over the screen by hiding it during rendering7- Added `--ellipsis` option. You can take advantage of it to make fzf8 effectively search non-visible parts of the item.9 ```sh10 # Search against hidden line numbers on the far right
1211 unmodified lines