-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
More shortcut functions in crate term #18548
Comments
I thought about creating a ncurses like rust library mainly for learning purpose, but then I found libterm in the rust repository. Now I don't know if it would be better to start a separate library on top of the current libterm implementation or to directly contribute to it? My personal feeling is that such things should be a separate library, but it's always here now. |
What about a trait in the standard library, but leave implementation to separate libraries? |
I found the following post on the rust-dev mailing list: https://mail.mozilla.org/pipermail/rust-dev/2014-July/010956.html . |
I'd be glad to provide the Windows implementation for any improvements. |
This should be moved to the |
This issue has been moved to the RFCs repo: Stebalien/term#11 |
Just wondering if there are plans to add some more shortcut functionality in the term crate.
I.e. currently there is fg and bg functions to change color, but no functions for clearing part of the screen, changing cursor location etc.
All the machinery is already there (for reading terminfo etc), just need to implement the functions.
I don't know if this 'core' enough for the main lib, but it's very simple (a few short functions like the fg and bg ones) and avoids having to link to libcurses etc. At the moment I implement the stuff I need as a separate custom Trait, but it feels like it belongs in the term traits.
Don't know windows so don't know how complex terminal stuff works there.
The text was updated successfully, but these errors were encountered: