Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ratatui apps over SSH to examples #249

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

ricott1
Copy link
Contributor

@ricott1 ricott1 commented Feb 11, 2024

We could add some minimal examples on how to serve a ratatui app over SSH. After running the example, connect the clients by running ssh localhost -p 2222.

The ratatui_app.rs example serves a separate app instance to each client, which can be checked by connecting 2 clients and trying to reset the app counter by pressing c. Each app counter should update independently.

The ratatui_shared_app.rs example serves the same app instance to each client, which can be checked by connecting 2 clients and trying to reset the app counter by pressing c. Each client should see the app counter update at the same time. This example can be used to build something along the lines of sshtron.

I also update the toolchain file to fix a build error, let me know if you prefer to have that committed to a separate PR.

@ricott1
Copy link
Contributor Author

ricott1 commented Feb 11, 2024

The unsuccessful check is an unrelated clippy issue

@Eugeny Eugeny merged commit dcbe4ba into Eugeny:main Feb 11, 2024
3 of 4 checks passed
@Eugeny
Copy link
Owner

Eugeny commented Feb 11, 2024

Thank you, merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants