1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-28 16:02:01 +03:00

bump gocui

This commit is contained in:
Jesse Duffield
2022-12-20 22:06:44 +11:00
parent 5679efe174
commit abbd598992
9 changed files with 58 additions and 26 deletions

View File

@ -255,9 +255,7 @@ func NewGui(mode OutputMode, supportOverlaps bool, playMode PlayMode, headless b
// Close finalizes the library. It should be called after a successful
// initialization and when gocui is not needed anymore.
func (g *Gui) Close() {
go func() {
g.stop <- struct{}{}
}()
close(g.stop)
Screen.Fini()
}