mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Remove the need for every module to define a widget.Refresh keyboard control
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
func (widget *Widget) initializeKeyboardControls() {
|
||||
widget.InitializeCommonControls()
|
||||
widget.InitializeCommonControls(nil)
|
||||
|
||||
widget.SetKeyboardChar("l", widget.NextSource, "Select next file")
|
||||
widget.SetKeyboardChar("h", widget.PrevSource, "Select previous file")
|
||||
|
||||
Reference in New Issue
Block a user