win: another attempt at DEL
This commit is contained in:
parent
d66973d28e
commit
95cb0f633d
1 changed files with 3 additions and 1 deletions
|
|
@ -372,9 +372,11 @@ stdinproc(void *v)
|
||||||
switch(e.c2){
|
switch(e.c2){
|
||||||
case 'I':
|
case 'I':
|
||||||
if(e.nr == 1 && e.r[0] == 0x7F) {
|
if(e.nr == 1 && e.r[0] == 0x7F) {
|
||||||
postnote(PNGROUP, pid, "interrupt");
|
char buf[1];
|
||||||
fsprint(addrfd, "#%ud,#%ud", e.q0, e.q1);
|
fsprint(addrfd, "#%ud,#%ud", e.q0, e.q1);
|
||||||
fswrite(datafd, "", 0);
|
fswrite(datafd, "", 0);
|
||||||
|
buf[0] = 0x7F;
|
||||||
|
write(fd0, buf, 1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(e.q0 < q.p){
|
if(e.q0 < q.p){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue