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

Feature Request: Implement Debug trait for crossterm::cursor::SetCursorStyle? #902

Closed
linrongbin16 opened this issue Jul 23, 2024 · 1 comment

Comments

@linrongbin16
Copy link
Contributor

linrongbin16 commented Jul 23, 2024

Is your feature request related to a problem? Please describe.

I want to print debugging info for struct that contains the crossterm::cursor::SetCursorStyle enum, but it doesn't implement the Debug trait.

Describe the solution you'd like

Implement Debug trait for crossterm::cursor::SetCursorStyle.

Describe alternatives you've considered if any

N/A.

Additional context

Source code here:

pub enum SetCursorStyle {

BTW, would you accept a PR for this? I think just add Debug to the #[derive] and add a unit test should work.

@linrongbin16
Copy link
Contributor Author

Resolved by: #909

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant