st

Simple Terminal
git clone https://git.pngu.org/st
Log | Files | Refs | README

commit a9c2d5b0084857f572e08ba1413cb7916cf2409f
parent 4819a59ec5aa27c137fbdb517dce64dcc7bb6167
Author: Jack Sangdahl <0x6A73@pm.me>
Date:   Tue, 23 Apr 2024 15:12:14 -0600

fix caps lock backspace

Diffstat:
Mconfig.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.h b/config.h @@ -51,7 +51,7 @@ MouseKey mkeys[] = { static Shortcut shortcuts[] = { {ControlMask | ShiftMask, XK_V, clippaste, {.i = 0}}, -}; + {ControlMask | ShiftMask, XK_C, clipcopy, {.i = 0}}}; static KeySym mappedkeys[] = {-1}; static uint ignoremod = Mod2Mask | XK_SWITCH_MOD; @@ -65,7 +65,7 @@ static Key key[] = {{XK_Up, XK_ANY_MOD, "\033[A", 0, -1}, {XK_Left, XK_ANY_MOD, "\033OD", 0, +1}, {XK_Right, XK_ANY_MOD, "\033[C", 0, -1}, {XK_Right, XK_ANY_MOD, "\033OC", 0, +1}, - {XK_BackSpace, XK_NO_MOD, "\177", 0, 0}}; + {XK_BackSpace, XK_ANY_MOD, "\177", 0, 0}}; static uint selmasks[] = { [SEL_RECTANGULAR] = Mod1Mask,