dfc
dfc copied to clipboard
Trouble with the graph ASCII char paramter into the dfcrc file
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?
Hi :wave:
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.