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

small imprevements #120

Closed
MCWertGaming opened this issue Apr 17, 2021 · 0 comments · Fixed by #142
Closed

small imprevements #120

MCWertGaming opened this issue Apr 17, 2021 · 0 comments · Fixed by #142
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@MCWertGaming
Copy link
Collaborator

Term::Terminal should have an option to call std::cout << Term::cursor_off(); in it's constructor and should re-enable the cursor in the destructor.

Also a small fix for terminals like the linux TTY:
Terminal::savescreen() should also do std::cout << Term::clear_screen_buffer() << std::flush;after saving the screen to avoid left over characters on terminals that do no support the save and restore ANSI codes. Also the restore function should do the same and move the cusrsor to 1,1 before restoring the screen to avoid lefover characters and black space (otherwise the prompt would be on the line where the cursor was).

@MCWertGaming MCWertGaming mentioned this issue Apr 17, 2021
42 tasks
@MCWertGaming MCWertGaming self-assigned this Nov 23, 2021
@MCWertGaming MCWertGaming added the enhancement New feature or request label Nov 23, 2021
@MCWertGaming MCWertGaming added this to the V1.X.X milestone Dec 7, 2021
@MCWertGaming MCWertGaming linked a pull request Dec 7, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant