Remove debug prints

This commit is contained in:
Tulir Asokan 2020-09-13 17:18:26 +03:00
parent 6b92c5dccb
commit f0a40ec20b

View File

@ -3,7 +3,6 @@ package ui
import (
"maunium.net/go/tcell"
"maunium.net/go/gomuks/debug"
"maunium.net/go/mauview"
)
@ -87,16 +86,6 @@ func NewHelpModal(parent *MainView) *HelpModal {
return hm
}
func (hm *HelpModal) Focus() {
debug.Print("focus")
hm.FocusableComponent.Focus()
}
func (hm *HelpModal) Blur() {
debug.Print("blur")
hm.FocusableComponent.Blur()
}
func (hm *HelpModal) OnKeyEvent(event mauview.KeyEvent) bool {
if event.Key() == tcell.KeyEscape || event.Rune() == 'q' {
hm.parent.HideModal()