<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~&gt; deno --version
deno 1.5.0
v8 8.7.220.3
typescript 4.0.3

OS Windows 10"><pre class="notranslate"><code class="notranslate">~&gt; deno --version
deno 1.5.0
v8 8.7.220.3
typescript 4.0.3

OS Windows 10
</code></pre></div>
<p dir="auto">Running the sample as directed in <a href="https://deno.land/posts/v1.5#codealertcode-codeconfirmcode-and-codepromptcode-added" rel="nofollow">https://deno.land/posts/v1.5#codealertcode-codeconfirmcode-and-codepromptcode-added</a>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno run https://deno.land/posts/v1.5/alert_confirm_prompt.js

What is your name? Wrong
 is your name? [y/N] n
What is your name? Correct
 is your name? [y/N] y
What is your name?"><pre class="notranslate"><code class="notranslate">deno run https://deno.land/posts/v1.5/alert_confirm_prompt.js

What is your name? Wrong
 is your name? [y/N] n
What is your name? Correct
 is your name? [y/N] y
What is your name?
</code></pre></div>
<p dir="auto">Loop never breaks and confirm message is truncated at <code class="notranslate"> is your name?</code>.</p>
<p dir="auto">to reproduce:</p>
<p dir="auto">Linux (WSL) | Windows</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28438021/97340972-761c3880-18aa-11eb-89d5-1a51d6ba1226.png"><img src="https://user-images.githubusercontent.com/28438021/97340972-761c3880-18aa-11eb-89d5-1a51d6ba1226.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">isn't limited to repl</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28438021/97341736-77019a00-18ab-11eb-980d-5ca55ae1b496.png"><img src="https://user-images.githubusercontent.com/28438021/97341736-77019a00-18ab-11eb-980d-5ca55ae1b496.png" alt="image" style="max-width: 100%;"></a></p>