X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/a2a60f0a2ce33dbd4ef07aaa4a914391481fa1de..66556d967028a0b770e9bfcb9667389a6e994a58:/config.def.h diff --git a/config.def.h b/config.def.h index 860ce3d..9e61010 100644 --- a/config.def.h +++ b/config.def.h @@ -134,7 +134,7 @@ static unsigned int defaultunderline = 7; * Internal mouse shortcuts. * Beware that overloading Button1 will disable the selection. */ -static Mousekey mshortcuts[] = { +static MouseShortcut mshortcuts[] = { /* button mask string */ { Button4, XK_ANY_MOD, "\031" }, { Button5, XK_ANY_MOD, "\005" }, @@ -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{|}~"; +