this post was submitted on 17 Feb 2025
28 points (96.7% liked)

Rust

6390 readers
341 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

I dunno if this is appropriate for this community, so mods, please delete if not.

I have been writing a screen clone in rust.

https://github.com/cameroncros/PoorMansScreen/tree/better_screen (The main branch is how I currently use it, not at all screen-like, the better_screen branch is much closer to a screen replacement.)

It all currently works fine, albeit quite simple, and I suspect not following best practices. Please talk shit about my code so I can fix that :D

For my next stage of development, I would like to use some combo of vt100 and ratatui to wrap the shell in a border, or add a menu bar at the top or bottom to make it clear when the user is inside a "screen". Does anyone have any thoughts on how to go about doing that? I am very unskilled at ratatui.

you are viewing a single comment's thread
view the rest of the comments
[–] CameronDev@programming.dev 5 points 3 days ago (1 children)
[–] livingcoder@programming.dev 1 points 3 days ago (1 children)

The README helped a lot, thanks. Just wanted to point out a minor typo, I think the second word under the "Client" section is meant to be the word "client".

[–] CameronDev@programming.dev 2 points 3 days ago

Yup, good catch, rushed it out on the train. Will fix