console-rs / console-rs/console
alternate screen
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 144
- Avg merge
- 8h 24m
- Merged PRs (30d)
- 4
Description
I'm writing a 'full screen' TUI, and want to use the alternate screen to not mess up the user's main screen.
https://stackoverflow.com/a/11024208/131023
You can switch to the alternate screen using this command:
$ tput smcup
And back with:
$ tput rmcup
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue's requested alternate-screen behavior and the linked pull request #65. Check how the console crate currently exposes terminal controls, then compare the proposed approach with the smcup and rmcup commands cited in the issue. Done means the alternate screen can be entered and exited without disturbing the user's main screen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100