win: handle DEL internally so that it always works
This commit is contained in:
parent
e1118cf27c
commit
d66973d28e
1 changed files with 6 additions and 0 deletions
|
|
@ -371,6 +371,12 @@ stdinproc(void *v)
|
|||
case 'M':
|
||||
switch(e.c2){
|
||||
case 'I':
|
||||
if(e.nr == 1 && e.r[0] == 0x7F) {
|
||||
postnote(PNGROUP, pid, "interrupt");
|
||||
fsprint(addrfd, "#%ud,#%ud", e.q0, e.q1);
|
||||
fswrite(datafd, "", 0);
|
||||
break;
|
||||
}
|
||||
if(e.q0 < q.p){
|
||||
if(debug)
|
||||
fprint(2, "shift typing %d... ", e.q1-e.q0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue