1
0
mirror of https://github.com/pcvolkmer/arsnova-client.git synced 2025-07-02 22:52:54 +00:00

Add a terminal-based client as example

This commit is contained in:
2023-12-20 01:35:52 +01:00
parent dee0d550ce
commit ba8dd91af9
4 changed files with 231 additions and 1 deletions

View File

@ -49,4 +49,15 @@ Forward feedback to a channel:
let (tx, rx) = tokio::sync::mpsc::channel::<Feedback>(10);
client.on_feedback_changed( & cli.room, FeedbackHandler::Sender(tx.clone())).await;
```
```
## Example
See [`examples/arsnova-client-tui.rs`](examples/arsnova-client-tui.rs) for a simple terminal-based feedback client
application.
```bash
arsnova-client-tui 23269388
```
![arsnova-client-tui](examples/arsnova-client.gif)