fix: I really am thick #14

Merged
emma merged 1 commits from 1.0.2 into main 2025-05-21 11:56:12 -07:00
2 changed files with 3 additions and 2 deletions

View File

@ -44,6 +44,7 @@ export async function cliPrompt(
render();
const buf = new Uint8Array(64); // large enough for most pastes
inputLoop:
while (true) {
const n = await Deno.stdin.read(buf);
if (n === null) break;
@ -60,7 +61,7 @@ export async function cliPrompt(
}
if (byte === 13) { // Enter
break;
break inputLoop;
}
// Escape sequence?

View File

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