Remove debug prints
This commit is contained in:
parent
6b92c5dccb
commit
f0a40ec20b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user