Merge pull request 'fix: I am stupid and forgot to press enter' (#13) from 1.0.2 into main
All checks were successful
Create Version Tag / version-check (push) Successful in 23s
Create Version Tag / build-release (push) Successful in 1m53s
Create Version Tag / publish-release (push) Successful in 30s

Reviewed-on: #13
This commit is contained in:
Emmaline Autumn 2025-05-21 11:41:45 -07:00
commit 252863c813
2 changed files with 5 additions and 1 deletions

View File

@ -59,6 +59,10 @@ export async function cliPrompt(
Deno.exit(130); Deno.exit(130);
} }
if (byte === 13) { // Enter
break;
}
// Escape sequence? // Escape sequence?
if (byte === 27 && i + 1 < n && buf[i + 1] === 91) { if (byte === 27 && i + 1 < n && buf[i + 1] === 91) {
const third = buf[i + 2]; const third = buf[i + 2];

View File

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