Fix CTRL-Z for tcell renderer by using the official API
See https://github.com/gdamore/tcell/pull/431
This commit is contained in:
parent
223d0c0819
commit
922bc22ceb
1 changed files with 2 additions and 2 deletions
|
|
@ -569,13 +569,13 @@ func (r *FullscreenRenderer) GetChar() Event {
|
|||
|
||||
func (r *FullscreenRenderer) Pause(clear bool) {
|
||||
if clear {
|
||||
r.Close()
|
||||
_screen.Suspend()
|
||||
}
|
||||
}
|
||||
|
||||
func (r *FullscreenRenderer) Resume(clear bool, sigcont bool) {
|
||||
if clear {
|
||||
r.initScreen()
|
||||
_screen.Resume()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue