dfc icon indicating copy to clipboard operation
dfc copied to clipboard

Trouble with the graph ASCII char paramter into the dfcrc file

Open Troupal opened this issue 2 years ago • 1 comments

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?

Troupal avatar Jan 26 '23 17:01 Troupal

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.

rolinh avatar Jan 26 '23 20:01 rolinh