adds flag coalescing to argparser
adds handling of inlined args to call tools fixes terminal layout clearing troubles
This commit is contained in:
@@ -79,15 +79,15 @@ export class TerminalLayout {
|
||||
}
|
||||
|
||||
clearAll() {
|
||||
for (const name of this.layoutOrder) {
|
||||
this.blocks[name].clear();
|
||||
}
|
||||
Deno.stdout.writeSync(
|
||||
new TextEncoder().encode(
|
||||
TerminalLayout.ALT_BUFFER_DISABLE,
|
||||
),
|
||||
);
|
||||
Cursor.show();
|
||||
for (const name of this.layoutOrder) {
|
||||
this.blocks[name].clear();
|
||||
}
|
||||
}
|
||||
|
||||
clear() {
|
||||
@@ -223,7 +223,6 @@ export class TerminalBlock {
|
||||
for (let i = 0; i < this.renderedLineCount; i++) {
|
||||
Deno.stdout.writeSync(new TextEncoder().encode(`\x1b[2K\x1b[1E`));
|
||||
}
|
||||
this.renderedLineCount = 0;
|
||||
}
|
||||
|
||||
clearAll() {
|
||||
|
Reference in New Issue
Block a user