diff options
author | dzwdz | 2024-07-25 22:17:27 +0200 |
---|---|---|
committer | dzwdz | 2024-07-25 22:17:27 +0200 |
commit | 69fd0dd9fda47aa52cccdbef6ca388cea38e693b (patch) | |
tree | 9e0e80e0380f2f39dea8f3a76ecb629918ff187a /src/cmd/init/driver/termcook.c | |
parent | 24934406d5d39e013e22a9e6f4138c4169460d71 (diff) |
kernel: pass more information to user on interrupt
This is meant to facilitate a syscall for returning from interrupts, which
will actually work in the general case as opposed to the current hack, which
only works if the interrupt occured during a syscall (which is correct... for
now).
Diffstat (limited to 'src/cmd/init/driver/termcook.c')
-rw-r--r-- | src/cmd/init/driver/termcook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/init/driver/termcook.c b/src/cmd/init/driver/termcook.c index e0edcf5..ed851e3 100644 --- a/src/cmd/init/driver/termcook.c +++ b/src/cmd/init/driver/termcook.c @@ -77,7 +77,7 @@ static void line_editor(void *) { } break; case 3: /* C-c */ - send_intr(""); + send_intr("C-c"); break; case 0x1c: /* C-\ */ send_intr("kill"); |