From 35f743d4224c640706e32558f287c64dbf6ab2fb Mon Sep 17 00:00:00 2001 From: Brian Duggan Date: Fri, 20 Dec 2024 09:06:09 -0500 Subject: [PATCH] workaround for tty changes --- lib/Jupyter/Kernel/Sandbox.rakumod | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Jupyter/Kernel/Sandbox.rakumod b/lib/Jupyter/Kernel/Sandbox.rakumod index fb23952..525a79d 100644 --- a/lib/Jupyter/Kernel/Sandbox.rakumod +++ b/lib/Jupyter/Kernel/Sandbox.rakumod @@ -73,6 +73,7 @@ class Jupyter::Kernel::Sandbox is export { $!handler = Jupyter::Kernel::Handler.new unless $.handler; $OUTERS::iopub_supplier = $iopub_supplier; $!compiler := nqp::getcomp("Raku") || nqp::getcomp('perl6'); + $*IN.^find_method('t').wrap( { True } ); $!repl = REPL.new($!compiler, {}); $!completer = Jupyter::Kernel::Sandbox::Autocomplete.new(:$.handler); self.eval(q:to/INIT/);