mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
handle interrupt right
This commit is contained in:
parent
fd40164450
commit
048610b7ea
1 changed files with 3 additions and 1 deletions
|
@ -902,7 +902,9 @@ key(Rune r)
|
|||
paste(&r, 1, 1);
|
||||
t.qh = t.q0 = t.q1 = t.nr;
|
||||
show(t.q0);
|
||||
postnote(PNGROUP, rcpid, "interrupt");
|
||||
/* must write the interrupt character in case app is in raw mode (e.g., ssh) */
|
||||
write(rcfd, "\x7F", 1);
|
||||
// postnote(PNGROUP, rcpid, "interrupt");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue