diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2022-04-04 22:06:16 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2022-04-04 22:06:16 +0900 |
| commit | b3ab6311c587e18ee202c5205afc658a33f2a23c (patch) | |
| tree | eb0f60f4033cd3718f599dc59a0e5d0dad310c28 /src/tui | |
| parent | d56f605b6338842b415ac1ff578f4316455815fe (diff) | |
| download | fzf-b3ab6311c587e18ee202c5205afc658a33f2a23c.tar.gz | |
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
Diffstat (limited to 'src/tui')
| -rw-r--r-- | src/tui/light.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index 97112981..8f2952b4 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -60,7 +60,7 @@ func (r *LightRenderer) csi(code string) { func (r *LightRenderer) flush() { 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() } } |
