show keyboard shortcuts in /help output
This commit is contained in:
4
ui.go
4
ui.go
@@ -192,7 +192,9 @@ func (b *Barnard) OnTextInput(ui *uiterm.Ui, textbox *uiterm.Textbox, text strin
|
||||
}
|
||||
return
|
||||
case "/help":
|
||||
b.AddOutputLine("/quit /exit /deafen /clear /register /help")
|
||||
b.AddOutputLine("Commands: /quit /exit /deafen /clear /register /help")
|
||||
b.AddOutputLine("Keys: F1 deafen, F4 transmit, F10 quit, Tab focus, Ctrl+L clear")
|
||||
b.AddOutputLine("Keys: PgUp/PgDn scroll, Home/End top/bottom, Ctrl+W del word")
|
||||
return
|
||||
}
|
||||
if b.Client != nil && b.Client.Self != nil {
|
||||
|
||||
Reference in New Issue
Block a user