mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
REPL shouldn't panic when it gets SIGINT (#2662)
This commit is contained in:
parent
bc12a3ba56
commit
55ca0f09cb
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ impl GetErrorKind for ReadlineError {
|
||||||
match self {
|
match self {
|
||||||
Io(err) => GetErrorKind::kind(err),
|
Io(err) => GetErrorKind::kind(err),
|
||||||
Eof => ErrorKind::UnexpectedEof,
|
Eof => ErrorKind::UnexpectedEof,
|
||||||
|
Interrupted => ErrorKind::Interrupted,
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
Errno(err) => err.kind(),
|
Errno(err) => err.kind(),
|
||||||
_ => unimplemented!(),
|
_ => unimplemented!(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue