feat: handle more commands and properly implement older ones

* fix parser tests
* write logs to file
* gracefully terminate program
* make viewport follow output
* properly handle channel nicks and display them in the sidepanel
* general refactors and fixes
This commit is contained in:
2022-01-15 21:56:06 +02:00
parent 8a7e1568ae
commit 22d5e39899
15 changed files with 487 additions and 181 deletions
+7 -7
View File
@@ -106,13 +106,13 @@ const (
)
/* --- Channel membership prefixes --- */
const (
Founder = "+q"
Protected = "+a"
Operator = "@"
HalfOp = "%"
Voice = "+v"
)
var UserPrefixes = map[string]bool{
"~": true,
"&": true,
"@": true,
"%": true,
"+": true,
}
/* --- Numeric Replies --- */
const (