From 55ca0f09cb50f8bc6b0590a9a88febc41f91e51b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 18 Jul 2019 15:01:15 -0400 Subject: [PATCH] REPL shouldn't panic when it gets SIGINT (#2662) --- cli/deno_error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/deno_error.rs b/cli/deno_error.rs index 544a411bac..41b0d4a947 100644 --- a/cli/deno_error.rs +++ b/cli/deno_error.rs @@ -192,6 +192,7 @@ impl GetErrorKind for ReadlineError { match self { Io(err) => GetErrorKind::kind(err), Eof => ErrorKind::UnexpectedEof, + Interrupted => ErrorKind::Interrupted, #[cfg(unix)] Errno(err) => err.kind(), _ => unimplemented!(),