Compare commits
2 Commits
cca6de1877
...
252863c813
Author | SHA1 | Date | |
---|---|---|---|
252863c813 | |||
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