fix: I am stupid and forgot to press enter

This commit is contained in:
Emmaline Autumn 2025-05-21 12:26:40 -06:00
parent b43a837c6a
commit a858ea4b60
2 changed files with 5 additions and 1 deletions

View File

@ -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];

View File

@ -1,6 +1,6 @@
{
"name": "@bearmetal/pdf-tools",
"version": "1.0.5",
"version": "1.0.6",
"license": "GPL 3.0",
"tasks": {
"dev": "deno run -A --env-file=.env main.ts",