X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/30440295bc054f37a2a8275acca769cd83bcb780..034a5c8a09e23ce0a410d0c608dd7e050b83681e:/config.def.h?ds=inline 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{|}~";