fix: I am stupid and forgot to press enter
This commit is contained in:
parent
b43a837c6a
commit
a858ea4b60
@ -59,6 +59,10 @@ export async function cliPrompt(
|
||||
Deno.exit(130);
|
||||
}
|
||||
|
||||
if (byte === 13) { // Enter
|
||||
break;
|
||||
}
|
||||
|
||||
// Escape sequence?
|
||||
if (byte === 27 && i + 1 < n && buf[i + 1] === 91) {
|
||||
const third = buf[i + 2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user