diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -307,6 +307,11 @@ loop: callback() case <-ui.Redraw: ui.Render() + case <-ui.SuspendQueue: + err = ui.Suspend() + if err != nil { + app.PushError(fmt.Sprintf("suspend: %s", err)) + } case <-ui.Quit: err = app.CloseBackends() if err != nil { |