From b21462355a61d69bedf15ae51304719f6014b8df Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Tue, 2 Jan 2024 09:36:05 +0530 Subject: Revert "fix(runtime): Make native modal keyboard interaction consistent with browsers" (#21739) Reverts denoland/deno#18453 Fixes https://github.com/denoland/deno/issues/21602 https://github.com/denoland/deno/issues/21631 https://github.com/denoland/deno/issues/21641 Reasons for revert: - alert() and confirm() swallowed ^C with raw mode. - prompt() did not re-raise the interrupt signal from rustyline. - Default 'Y' on confirm() is a bad default and breaking change. cc @lionel-rowe --- cli/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/Cargo.toml') diff --git a/cli/Cargo.toml b/cli/Cargo.toml index ad9974070..dc9bd1228 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -118,7 +118,7 @@ quick-junit = "^0.3.5" rand = { workspace = true, features = ["small_rng"] } regex.workspace = true ring.workspace = true -rustyline.workspace = true +rustyline = { version = "=13.0.0", default-features = false, features = ["custom-bindings", "with-file-history"] } rustyline-derive = "=0.7.0" serde.workspace = true serde_repr.workspace = true -- cgit v1.2.3