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

SetUnderlineColor command error on Windows 7 #831

Open
rigelminer opened this issue Oct 8, 2023 · 0 comments
Open

SetUnderlineColor command error on Windows 7 #831

rigelminer opened this issue Oct 8, 2023 · 0 comments

Comments

@rigelminer
Copy link

Describe the bug
SetUnderlineColor command results in a SetUnderlineColor not supported by winapi. error

To Reproduce
Issue a SetUnderlineColor command on Windows 7

Expected behavior
Nothing happens, crossterm silently ignores the command as it is not supported by WinAPI

OS
Windows 7

Terminal/Console
cmd.exe

Notes
My understanding is unsupported commands should return Ok(()) similar to this https://github.com/crossterm-rs/crossterm/blob/master/src/style.rs#L321, however the SetUnderlineColor returns an error https://github.com/crossterm-rs/crossterm/blob/master/src/style.rs#L251

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