proper keyboard selection
This commit is contained in:
parent
09cbf6d8ad
commit
5808c71df9
2
config.h
2
config.h
|
@ -200,7 +200,7 @@ static Shortcut shortcuts[] = {
|
|||
{ TERMMOD, XK_V, clippaste, {.i = 0} },
|
||||
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
|
||||
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
||||
{ TERMMOD, XK_Escape, keyboard_select,{ 0 } },
|
||||
{ ShiftMask, XK_Escape, keyboard_select,{ 0 } },
|
||||
|
||||
};
|
||||
|
||||
|
|
4
st.c
4
st.c
|
@ -2934,10 +2934,6 @@ int trt_kbdselect(KeySym ksym, char *buf, int len) {
|
|||
term.c.y = cu.y >> 1;
|
||||
select_or_drawcursor(selectsearch_mode, type);
|
||||
break;
|
||||
case XK_C :
|
||||
Arg *dummy_arg = {.i = 0};
|
||||
clipcopy(dummy_arg);
|
||||
break;
|
||||
default :
|
||||
if ( ksym >= XK_0 && ksym <= XK_9 ) { /* 0-9 keyboard */
|
||||
quant = (quant * 10) + (ksym ^ XK_0);
|
||||
|
|
Loading…
Reference in a new issue