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

Trouble with the graph ASCII char paramter into the dfcrc file #33

Open
Troupal opened this issue Jan 26, 2023 · 1 comment
Open

Trouble with the graph ASCII char paramter into the dfcrc file #33

Troupal opened this issue Jan 26, 2023 · 1 comment

Comments

@Troupal
Copy link

Troupal commented Jan 26, 2023

Hello dear dev !

I tried to change the graph character (which is set by default with "=") to "■" or other ASCII character in the files /etc/xdg/dfc/en/dfcrc and /etc/xdg/dfc/dfcrc (and all other places where it is possible) but it does not work.
Do you know why? And how to fix it?

@rolinh
Copy link
Owner

rolinh commented Jan 26, 2023

Hi 👋

Characters that have a length other than 1 (in byte) are currently not supported as the check is done using strlen(3). What should be done instead is to check the number of code points rather than the length and I think it may work.

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

2 participants