Merge pull request 'fix: I am stupid and forgot to press enter' (#13) from 1.0.2 into main
Reviewed-on: #13
This commit is contained in:
commit
252863c813
@ -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];
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user