mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
Fix tcell renderer's pause and resume
This commit is contained in:
@@ -560,7 +560,7 @@ func (r *FullscreenRenderer) GetChar() Event {
|
||||
|
||||
func (r *FullscreenRenderer) Pause(clear bool) {
|
||||
if clear {
|
||||
_screen.Fini()
|
||||
r.Close()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -572,6 +572,7 @@ func (r *FullscreenRenderer) Resume(clear bool, sigcont bool) {
|
||||
|
||||
func (r *FullscreenRenderer) Close() {
|
||||
_screen.Fini()
|
||||
_screen = nil
|
||||
}
|
||||
|
||||
func (r *FullscreenRenderer) RefreshWindows(windows []Window) {
|
||||
|
||||
Reference in New Issue
Block a user