X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=a1e7d5a9cc9b4338a211e9031a3e64cb4c9c49a4;hb=034a5c8a09e23ce0a410d0c608dd7e050b83681e;hp=fd09d72b7cde7e477b66a08ce0a40175ff72f288;hpb=30440295bc054f37a2a8275acca769cd83bcb780;p=st.git diff --git a/config.def.h b/config.def.h index fd09d72..a1e7d5a 100644 --- a/config.def.h +++ b/config.def.h @@ -417,3 +417,11 @@ static uint selmasks[] = { [SEL_RECTANGULAR] = Mod1Mask, }; +/* + * Printable characters in ASCII, used to estimate the advance width + * of single wide characters. + */ +static char ascii_printable[] = + " !\"#$%&'()*+,-./0123456789:;<=>?" + "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" + "`abcdefghijklmnopqrstuvwxyz{|}~";