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

Redefine how non-printable chars are printed #2429

Open
yermulnik opened this issue Dec 28, 2022 · 2 comments
Open

Redefine how non-printable chars are printed #2429

yermulnik opened this issue Dec 28, 2022 · 2 comments
Labels
feature-request New feature or request

Comments

@yermulnik
Copy link

Is this possible to redefine how non-printable chars are displayed?
Builtin solution is a way unreadable for my terminal configuration and I'd like an option to show non-printables like most of UNIX tools does.

image

ps: Thanks for the great tool =)

@yermulnik yermulnik added the feature-request New feature or request label Dec 28, 2022
@keith-hall
Copy link
Collaborator

This is currently not configurable, but the relevant code is at

pub fn replace_nonprintable(input: &[u8], tab_width: usize) -> String {

@yermulnik
Copy link
Author

@keith-hall Thanks for the pointer.
Is it possible to put this on a feature requests list? Sort of --output-style ascii or something like this.

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

No branches or pull requests

2 participants