Update mauview
This commit is contained in:
parent
b9bcfb24ef
commit
404a617670
2
go.mod
2
go.mod
@ -17,7 +17,7 @@ require (
|
||||
github.com/zyedidia/clipboard v1.0.3
|
||||
go.etcd.io/bbolt v1.3.6
|
||||
go.mau.fi/cbind v0.0.0-20220415094356-e1d579b7925e
|
||||
go.mau.fi/mauview v0.1.4-0.20220415185926-d3913ee0f2b4
|
||||
go.mau.fi/mauview v0.1.4-0.20220415192914-be7d4f257167
|
||||
go.mau.fi/tcell v0.0.0-20220415185117-592f364693a2
|
||||
golang.org/x/image v0.0.0-20220413100746-70e8d0d3baa9
|
||||
golang.org/x/net v0.0.0-20220412020605-290c469a71a5
|
||||
|
4
go.sum
4
go.sum
@ -56,8 +56,8 @@ go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU=
|
||||
go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4=
|
||||
go.mau.fi/cbind v0.0.0-20220415094356-e1d579b7925e h1:zY4TZmHAaUhrMFJQfh02dqxDYSfnnXlw/qRoFanxZTw=
|
||||
go.mau.fi/cbind v0.0.0-20220415094356-e1d579b7925e/go.mod h1:9nnzlslhUo/xO+8tsQgkFqG/W+SgD+r0iTYAuglzlmA=
|
||||
go.mau.fi/mauview v0.1.4-0.20220415185926-d3913ee0f2b4 h1:fciW2Q2Gl/E24nXJ1xWeV4x75pFtEBFa8cBkwoIAATs=
|
||||
go.mau.fi/mauview v0.1.4-0.20220415185926-d3913ee0f2b4/go.mod h1:1rzvl7kqQ9lv8EVZeAwUlxR4/Q8LM3y2Xogg0yNx0qU=
|
||||
go.mau.fi/mauview v0.1.4-0.20220415192914-be7d4f257167 h1:WCqpsiR7IuOJ36aDd9pbPxr9AtjnXvPHhPKw9xx9x2Q=
|
||||
go.mau.fi/mauview v0.1.4-0.20220415192914-be7d4f257167/go.mod h1:1rzvl7kqQ9lv8EVZeAwUlxR4/Q8LM3y2Xogg0yNx0qU=
|
||||
go.mau.fi/tcell v0.0.0-20220415093808-07c67d224693/go.mod h1:HQLPCz9v8YfYewMetOKrg9pe87XEyNcIfCYYq8VxQbU=
|
||||
go.mau.fi/tcell v0.0.0-20220415185117-592f364693a2 h1:UocCXayiOk0dzu7GeTyiH6UdpJnp5d645NRDwr6RjLY=
|
||||
go.mau.fi/tcell v0.0.0-20220415185117-592f364693a2/go.mod h1:HQLPCz9v8YfYewMetOKrg9pe87XEyNcIfCYYq8VxQbU=
|
||||
|
@ -86,6 +86,10 @@ func (gmx *Gomuks) StartAutosave() {
|
||||
// Stop stops the Matrix syncer, the tview app and the autosave goroutine,
|
||||
// then saves everything and calls os.Exit(0).
|
||||
func (gmx *Gomuks) Stop(save bool) {
|
||||
go gmx.internalStop(save)
|
||||
}
|
||||
|
||||
func (gmx *Gomuks) internalStop(save bool) {
|
||||
debug.Print("Disconnecting from Matrix...")
|
||||
gmx.matrix.Stop()
|
||||
debug.Print("Cleaning up UI...")
|
||||
|
Loading…
Reference in New Issue
Block a user