1
0
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:
Chris Cummer
2018-05-09 11:56:27 -07:00
parent decc8cd5e5
commit 25430c228d
28 changed files with 314 additions and 39 deletions

View File

@@ -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":