Revert "avoid redraw when there's no change"
31fa07b9
This reverts commit 6818e07291f3b2913e687c8ec3d3fe4711724050. This broke keys such as ^W to delete-backward-word
1 file(s) · +2 −3
This reverts commit 6818e07291f3b2913e687c8ec3d3fe4711724050. This broke keys such as ^W to delete-backward-word
| 415 | 415 | switch(ksym) { |
|
| 416 | 416 | default: |
|
| 417 | 417 | insert: |
|
| 418 | - | if (iscntrl((unsigned char)*buf)) |
|
| 419 | - | return; |
|
| 420 | - | insert(buf, len); |
|
| 418 | + | if (!iscntrl(*buf)) |
|
| 419 | + | insert(buf, len); |
|
| 421 | 420 | break; |
|
| 422 | 421 | case XK_Delete: |
|
| 423 | 422 | case XK_KP_Delete: |