all repos — st @ a1ed5071e54e4f8ce765c07d5415da7d8cedf618

st (suckless terminal) config

Change Pause to Break in shortcut for serial break
Roberto E. Vargas Caballero k0ga@shike2.com
commit

a1ed5071e54e4f8ce765c07d5415da7d8cedf618

parent

3ba9c8fc3f547a5762b3d4a6a16cc794446d76a3

2 files changed, 5 insertions(+), 3 deletions(-)

jump to
M config.def.hconfig.def.h

@@ -143,7 +143,7 @@ #define MODKEY Mod1Mask

static Shortcut shortcuts[] = { /* mask keysym function argument */ - { XK_NO_MOD, XK_Pause, sendbreak, {.i = 0} }, + { XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} }, { ControlMask, XK_Print, toggleprinter, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
M st.1st.1

@@ -122,8 +122,10 @@ and all the remaining arguments are used as a command

even without it. .SH SHORTCUTS .TP -.B Pause -Send a break in the serial line +.B Break +Send a break in the serial line. +Break key is obtained in PC keyboards +pressing at the same time control and pause. .TP .B Ctrl-Print Screen Toggle if st should print to the