mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Adds the Weather module to the documentation
This commit is contained in:
@@ -16,7 +16,7 @@ var Config *config.Config
|
||||
const helpText = `
|
||||
Keyboard commands for Textfile:
|
||||
|
||||
h: Show/hide this help window
|
||||
/: Show/hide this help window
|
||||
o: Open the text file in the operating system
|
||||
`
|
||||
|
||||
@@ -70,7 +70,7 @@ func (widget *Widget) Refresh() {
|
||||
|
||||
func (widget *Widget) keyboardIntercept(event *tcell.EventKey) *tcell.EventKey {
|
||||
switch string(event.Rune()) {
|
||||
case "h":
|
||||
case "/":
|
||||
widget.showHelp()
|
||||
return nil
|
||||
case "o":
|
||||
|
||||
Reference in New Issue
Block a user