X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/e2aa03e6b71436e1c9207b01777baa16b7a00ea5..6d8f85232ec741ae2357728d6e96cb8a44e842b4:/config.def.h diff --git a/config.def.h b/config.def.h index fd09d72..9e61010 100644 --- a/config.def.h +++ b/config.def.h @@ -417,3 +417,12 @@ 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{|}~"; +