Fix text selection panic caused by clipboard
This commit is contained in:
parent
25bc7dfff3
commit
f3854524bc
2
ui/ui.go
2
ui/ui.go
@ -20,6 +20,7 @@ import (
|
||||
"os"
|
||||
|
||||
"maunium.net/go/mauview"
|
||||
"github.com/zyedidia/clipboard"
|
||||
"maunium.net/go/tcell"
|
||||
|
||||
"maunium.net/go/gomuks/interface"
|
||||
@ -62,6 +63,7 @@ func NewGomuksUI(gmx ifc.Gomuks) ifc.GomuksUI {
|
||||
}
|
||||
|
||||
func (ui *GomuksUI) Init() {
|
||||
clipboard.Initialize()
|
||||
ui.views = map[View]mauview.Component{
|
||||
ViewLogin: ui.NewLoginView(),
|
||||
ViewMain: ui.NewMainView(),
|
||||
|
Loading…
Reference in New Issue
Block a user