mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-03 13:42:11 -07:00
Hide cursor while rendering the screen
Fix #2781 Fix #2588 Fix #1805 Fix https://github.com/junegunn/fzf.vim/issues/1370 Fix https://github.com/junegunn/fzf.vim/issues/1060
This commit is contained in:
@@ -3,6 +3,7 @@ CHANGELOG
|
|||||||
|
|
||||||
0.30.0
|
0.30.0
|
||||||
------
|
------
|
||||||
|
- Fixed cursor flickering over the screen by hiding it during rendering
|
||||||
- Added `--ellipsis` option. You can take advantage of it to make fzf
|
- Added `--ellipsis` option. You can take advantage of it to make fzf
|
||||||
effectively search non-visible parts of the item.
|
effectively search non-visible parts of the item.
|
||||||
```sh
|
```sh
|
||||||
|
@@ -60,7 +60,7 @@ func (r *LightRenderer) csi(code string) {
|
|||||||
|
|
||||||
func (r *LightRenderer) flush() {
|
func (r *LightRenderer) flush() {
|
||||||
if r.queued.Len() > 0 {
|
if r.queued.Len() > 0 {
|
||||||
fmt.Fprint(os.Stderr, r.queued.String())
|
fmt.Fprint(os.Stderr, "\x1b[?25l"+r.queued.String()+"\x1b[?25h")
|
||||||
r.queued.Reset()
|
r.queued.Reset()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user