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

WISH: Visualize/highlight different whitespace symbols #381

Closed
HenrikBengtsson opened this issue Oct 25, 2018 · 3 comments · Fixed by #395
Closed

WISH: Visualize/highlight different whitespace symbols #381

HenrikBengtsson opened this issue Oct 25, 2018 · 3 comments · Fixed by #395
Assignees
Labels
feature-request New feature or request
Milestone

Comments

@HenrikBengtsson
Copy link

It is sometimes useful to be able to see the difference between various whitespace symbols, e.g. space ( ), TAB (\t), CR (\r), LF (\n), BACKSPACE (\b), ... This can be particularly helpful when for instance troubleshooting a tab-delimited file (which e.g. uses spaces instead of TABs).

Visualization of whitespace could be done by using different background colors, e.g. (ignoring themes)

  • space - default background
  • TAB - red
  • BACKSPACE - yellow
  • CR - magenta
  • LF - blue
@sharkdp sharkdp added the feature-request New feature or request label Nov 1, 2018
@sharkdp sharkdp self-assigned this Nov 1, 2018
@sharkdp sharkdp added this to the 0.9.0 milestone Nov 1, 2018
@sharkdp
Copy link
Owner

sharkdp commented Nov 1, 2018

@HenrikBengtsson Thank you for your feedback. I was hesitant to add this in the past, but I have thought about this again and came up with this idea/implementation: #395. It's not quite what you requested, but I would love to hear your feedback.

@HenrikBengtsson
Copy link
Author

For anyone else reading this, see comments over at PR #395.

@sharkdp
Copy link
Owner

sharkdp commented Nov 11, 2018

This is now available in bat 0.9.

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

Successfully merging a pull request may close this issue.

2 participants