<p dir="auto">When Deno REPL get invoked via bash in <a href="https://elementary.io/pt_BR/" rel="nofollow">Elementary OS</a> (which is a ubuntu based distro), and then closed via Key binds <code class="notranslate">Ctrl + c </code> or <code class="notranslate">Ctrl + d </code> both work the same way closing it successfully.<br>
But when one tries to close the REPL using <code class="notranslate">close()</code> function call, Deno blocks <strong>visually</strong> the shell.</p>
<p dir="auto">The user cannot  see anymore anything that is being typed at the terminal, until it's terminated.</p>
<p dir="auto">I've added a GIF to illustrate:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19848508/81970768-68257480-95f6-11ea-85a0-453efd48bf2b.gif"><img src="https://user-images.githubusercontent.com/19848508/81970768-68257480-95f6-11ea-85a0-453efd48bf2b.gif" alt="ezgif com-video-to-gif" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">I'm not sure if it's the intended behaviour of deno or a problem due to OS being used:<br>
elementary OS 5.1.4 Hera Built on Ubuntu 18.04.4 LTS.</p>
<p dir="auto">When we do <code class="notranslate">close()</code>, it exits the REPL but somehow after then I am unable to type<br>
in the terminal, though if I type and press enter it executes the commands but I<br>
can't see the characters.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[sanket143@lisa test_plugin]$ deno
Deno 1.0.0
exit using ctrl+d or close()
&gt; close()
undefined
&gt; [sanket143@lisa test_plugin]$ Cargo.toml  src  tests
[sanket143@lisa test_plugin]$ ^C
[sanket143@lisa test_plugin]$ "><pre class="notranslate"><code class="notranslate">[sanket143@lisa test_plugin]$ deno
Deno 1.0.0
exit using ctrl+d or close()
&gt; close()
undefined
&gt; [sanket143@lisa test_plugin]$ Cargo.toml  src  tests
[sanket143@lisa test_plugin]$ ^C
[sanket143@lisa test_plugin]$ 
</code></pre></div>