simplification
This commit is contained in:
parent
c2507f82ae
commit
3ce8f8de3f
@ -230,7 +230,7 @@ keypress(XKeyEvent *ev) {
|
||||
}
|
||||
switch(ksym) {
|
||||
default:
|
||||
if(!iscntrl(*buf))
|
||||
if(*buf)
|
||||
insert(buf, strlen(buf));
|
||||
break;
|
||||
case XK_Delete:
|
||||
|
Loading…
Reference in New Issue
Block a user