From f00f0f92983d6966a5b97e539ec3f3407c3d851f Mon Sep 17 00:00:00 2001 From: Zander Hill Date: Thu, 4 Jul 2024 15:12:14 -0700 Subject: feat(jupyter): support `confirm` and `prompt` in notebooks (#23592) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://github.com/denoland/deno/issues/22633 This commit adds support for `confirm` and `prompt` APIs, that instead of reading from stdin are using notebook frontend to show modal boxes and wait for answers. --------- Co-authored-by: Bartek IwaƄczuk --- runtime/js/99_main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/js/99_main.js') diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 0a750f891..44dc3c54d 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -579,6 +579,7 @@ const NOT_IMPORTED_OPS = [ // Related to `Deno.jupyter` API "op_jupyter_broadcast", + "op_jupyter_input", // Related to `Deno.test()` API "op_test_event_step_result_failed", -- cgit v1.2.3