X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=config.h;h=7d8d959ff553188d405889c405de1ce23b394b51;hp=1d0d53e6b2a6b740498828c35958d167dc39f2bb;hb=db1292d2032c5fbbf266f9ef82f2fdfa493f389f;hpb=c82a2cc76ec04c2cf7ec4d26c77a97114ea8dc15 diff --git a/config.h b/config.h index 1d0d53e..7d8d959 100644 --- a/config.h +++ b/config.h @@ -6,7 +6,7 @@ * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ static char font[] = "Fantasque Sans Mono:pixelsize=16:antialias=true:autohint=false"; -static int borderpx = 2; +static int borderpx = 1; static char shell[] = "/bin/sh"; static char *utmp = NULL; @@ -39,7 +39,7 @@ static unsigned int actionfps = 30; * blinking timeout (set to 0 to disable blinking) for the terminal blinking * attribute. */ -static unsigned int blinktimeout = 800; +static unsigned int blinktimeout = 0; /* * bell volume. It must be a value between -100 and 100. Use 0 for disabling @@ -103,8 +103,8 @@ static unsigned int defaultunderline = 7; /* Beware that overloading Button1 will disable the selection. */ static Mousekey mshortcuts[] = { /* button mask string */ - { Button4, XK_ANY_MOD, "\031" }, - { Button5, XK_ANY_MOD, "\005" }, + { Button4, XK_ANY_MOD, "\031\031\031" }, + { Button5, XK_ANY_MOD, "\005\005\005" }, }; /* Internal keyboard shortcuts. */ @@ -260,8 +260,7 @@ static Key key[] = { { XK_Delete, ShiftMask, "\033[3;2~", +1, 0, 0}, { XK_Delete, XK_ANY_MOD, "\033[3~", -1, 0, 0}, { XK_Delete, XK_ANY_MOD, "\033[3~", +1, 0, 0}, - { XK_BackSpace, XK_ANY_MOD, "\177", -1, 0, 0}, - { XK_BackSpace, XK_ANY_MOD, "\177", +1, 0, 0}, + { XK_BackSpace, XK_ANY_MOD, "\177", 0, 0, 0}, { XK_Home, ShiftMask, "\033[2J", 0, -1, 0}, { XK_Home, ShiftMask, "\033[1;2H", 0, +1, 0}, { XK_Home, XK_ANY_MOD, "\033[H", 0, -1, 0},