|
|
|
@ -587,10 +587,6 @@ func (a *Application) Stop() {
|
|
|
|
|
// A return value of true indicates that the application was suspended and "f"
|
|
|
|
|
// was called. If false is returned, the application was already suspended,
|
|
|
|
|
// terminal UI mode was not exited, and "f" was not called.
|
|
|
|
|
//
|
|
|
|
|
// BUG(tslocum) First key event is lost when resuming a suspended application.
|
|
|
|
|
//
|
|
|
|
|
// Issue: https://github.com/gdamore/tcell/issues/194
|
|
|
|
|
func (a *Application) Suspend(f func()) bool { |
|
|
|
|
a.RLock() |
|
|
|
|
screen := a.screen |
|
|
|
|