fixed ^U cursor support
This commit is contained in:
parent
f45023cda1
commit
03aaf0d364
@ -414,8 +414,8 @@ kpress(XKeyEvent * e) {
|
|||||||
break;
|
break;
|
||||||
case XK_u:
|
case XK_u:
|
||||||
case XK_U:
|
case XK_U:
|
||||||
|
memmove(text, text + cursor, sizeof text - cursor + 1);
|
||||||
cursor = 0;
|
cursor = 0;
|
||||||
text[0] = '\0';
|
|
||||||
match(text);
|
match(text);
|
||||||
break;
|
break;
|
||||||
case XK_w:
|
case XK_w:
|
||||||
|
Loading…
Reference in New Issue
Block a user