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

Add true or false checkbox in health output table #1947

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

nirmal-j-patel
Copy link
Contributor

hx --health output table's second and third columns were not showing
symbols like ✔ or ✘ to indicate whether LSP or DAP binaries were found.
This change adds these symbols to improve accessibility.

Fixes #1894

Signed-off-by: Nirmal Patel npate012@gmail.com

Comment on lines 137 to 138
Ok(_) => column(&format!("✔ {cmd}"), Color::Green),
Err(_) => column(&format!("✘ {cmd}"), Color::Red),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use format("... {}", cmd) so our MSRV doesn't increase. #1881

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the feedback. I have implemented your suggestion.

hx --health output table's second and third columns were not showing
symbols like ✔ or ✘ to indicate whether LSP or DAP binaries were found.
This change adds these symbols to improve accessibility.

Fixes helix-editor#1894

Signed-off-by: Nirmal Patel <npate012@gmail.com>
Copy link
Member

@archseer archseer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@archseer archseer merged commit 3deb1c9 into helix-editor:master Apr 12, 2022
@nirmal-j-patel nirmal-j-patel deleted the health_table_symbols branch July 3, 2022 20:22
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

Successfully merging this pull request may close these issues.

Accessibility: differentiate --health output by more than just colour
2 participants