diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-11-14 00:01:20 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-11-14 00:01:20 +0200 |
commit | 7651e84be949ecabac62d21b6e843b6776a2371e (patch) | |
tree | 15babd86e895b3f2cf0f74c8ebba66137fd2a791 /README.md | |
parent | ba387764ca1590625d349e74eb8a8a64d1849b67 (diff) | |
parent | 61400188bb6c3c86c40a8be8242450d45e764415 (diff) |
Merge branch 'master' into update
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 34 |
1 files changed, 24 insertions, 10 deletions
@@ -25,6 +25,20 @@ or compile from source: 1. Run `go get -u maunium.net/go/gomuks` 2. gomuks should now be in `$GOPATH/bin/gomuks` +## Developing +Running `go install` in `$GOPATH/src/maunium.net/go/gomuks` will recompile the project and dependencies into `$GOPATH/bin/gomuks`. + +For debugging, use `tail -f /tmp/gomuks-debug.log` and write to it using the methods in the `maunium.net/go/gomuks/debug` package: +```go +import ( + "maunium.net/go/gomuks/debug" +) +... +func Foo() { + debug.Print("WHY ISN'T IT WORKING?!?!?") +} +``` + ## Usage - switch rooms - `Ctrl + ↑` `Ctrl + ↓` `Alt + ↑` `Alt + ↓` - scroll chat (line) - `↑` `↓` @@ -32,13 +46,13 @@ or compile from source: - jump to room - `Alt + Enter`, then `Tab` and `Enter` to navigate and select room ### Commands -* `help` - Is a known command -* `me <text>` - Send an emote -* `quit` - Close gomuks -* `clearcache` - Clear room state and close gomuks -* `leave` - Leave the current room -* `join <room>` - Join the room with the given room ID or alias -* `toggle <rooms/users/baremessages/images/typingnotif>` - Change user preferences -* `logout` - Log out, clear caches and go back to the login view -* `send <room id> <event type> <content>` - Send a custom event -* `setstate <room id> <event type> <state key/`-`> <content>` - Change room state +* `/help` - Is a known command +* `/me <text>` - Send an emote +* `/quit` - Close gomuks +* `/clearcache` - Clear room state and close gomuks +* `/leave` - Leave the current room +* `/join <room>` - Join the room with the given room ID or alias +* `/toggle <rooms/users/baremessages/images/typingnotif>` - Change user preferences +* `/logout` - Log out, clear caches and go back to the login view +* `/send <room id> <event type> <content>` - Send a custom event +* `/setstate <room id> <event type> <state key/-> <content>` - Change room state |