decouple UI from connection handling

This commit is contained in:
Lobo 2025-10-14 16:34:44 -03:00
parent 080a8d5e47
commit db8b3585a1
6 changed files with 358 additions and 226 deletions

View file

@ -2,6 +2,8 @@
`nanite` is a terminal [Nanochat] client.
![](./assets/screenshot.png)
## build
```
@ -24,10 +26,12 @@ keybindings:
commands:
- `/dial hostname`: connect to server
- `/hangup`: disconnect
- `/q`, `/quit`: quit
- `/nick [nickname]`: change nick, if no arguments, show current nick
- `/me [is listening to music]`: IRC `/me` alike
- `/poll [n]`: change polling interval, if no arguments, poll manually
- `/me`: IRC `/me` alike
- `/poll [seconds]`: change polling interval, if no arguments, poll manually
## won't support (yet)