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

[enhancement] Resetting the cursor #46

Open
nate-sys opened this issue Sep 5, 2022 · 2 comments
Open

[enhancement] Resetting the cursor #46

nate-sys opened this issue Sep 5, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@nate-sys
Copy link
Contributor

nate-sys commented Sep 5, 2022

After exiting toipe, the cursor will change into cursor::SteadyBlock and I find myself having to run reset in my terminal. It would be nice if the cursor could return to its original state after exiting toipe.

@nate-sys nate-sys changed the title Resetting the cursor [enhancement] Resetting the cursor Sep 5, 2022
@Samyak2
Copy link
Owner

Samyak2 commented Oct 21, 2022

That is quite annoying indeed. I wanted a way to find out what cursor the user had before starting toipe and reset to that. Unfortunately that's not possible: #39 (comment)

As a workaround, you could use an alias that runs reset after exiting toipe: alias toipe="toipe && reset" and add it to your shell configuration.

I still believe that toipe should change the user's cursor to a blinking bar as that (IMO) provides the best experience for this app. Although, I'm open to exposing an option that lets the user select what type of cursor they want.

@nate-sys
Copy link
Contributor Author

I agree, doing it that way is much better

@Samyak2 Samyak2 added the enhancement New feature or request label Oct 24, 2022
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
None yet
Development

No branches or pull requests

2 participants