Change Pause to Break in shortcut for serial break

master
Roberto E. Vargas Caballero 9 years ago
parent 3ba9c8fc3f
commit a1ed5071e5
  1. 2
      config.def.h
  2. 6
      st.1

@ -143,7 +143,7 @@ static Mousekey mshortcuts[] = {
static Shortcut shortcuts[] = { static Shortcut shortcuts[] = {
/* mask keysym function argument */ /* 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} }, { ControlMask, XK_Print, toggleprinter, {.i = 0} },
{ ShiftMask, XK_Print, printscreen, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} },
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} },

@ -122,8 +122,10 @@ and all the remaining arguments are used as a command
even without it. even without it.
.SH SHORTCUTS .SH SHORTCUTS
.TP .TP
.B Pause .B Break
Send a break in the serial line Send a break in the serial line.
Break key is obtained in PC keyboards
pressing at the same time control and pause.
.TP .TP
.B Ctrl-Print Screen .B Ctrl-Print Screen
Toggle if st should print to the Toggle if st should print to the

Loading…
Cancel
Save