GUI.SelFgColor = gocui.ColorCyan
GUI.Highlight = true
GUI.SetManagerFunc(guiLayout)
- if err := GUI.SetKeybinding("", gocui.KeyF10, gocui.ModNone, guiQuit); err != nil {
+ if err := GUI.SetKeybinding("", 'q', gocui.ModNone, guiQuit); err != nil {
log.Fatal(err)
}
if err := GUI.SetKeybinding("", gocui.KeyEnter, gocui.ModNone, mute); err != nil {
}
defer GUI.Close()
GUI.SetManagerFunc(guiLayout)
- if err := GUI.SetKeybinding("", gocui.KeyF10, gocui.ModNone, guiQuit); err != nil {
+ if err := GUI.SetKeybinding("", 'q', gocui.ModNone, guiQuit); err != nil {
log.Fatal(err)
}
$ vors-client -srv "[2001:db8::1]:12978" -pub $pub -name NAME
@end example
- Pressing F10 in server/client TUIs means quitting. Pressing Enter in
- client means "mute" toggling.
+ Pressing "q" in server/client TUIs means quitting.
+ Pressing Enter in client means "mute" toggling.
@item
@option{-room} allows you to join non-root room.