fix: unifies cursor positioning through input manager
removed: block level preserve history removed until accurate reporting of render heights is available fix: fixes block multiline rendering
This commit is contained in:
@@ -92,6 +92,7 @@ export class FieldVisibility implements ITool {
|
||||
);
|
||||
return visibility;
|
||||
}),
|
||||
{ terminalBlock: this.block },
|
||||
);
|
||||
if (!fieldAndVisibility) break;
|
||||
const visibility = await selectMenuInteractive(
|
||||
@@ -102,6 +103,7 @@ export class FieldVisibility implements ITool {
|
||||
"HiddenButPrintable",
|
||||
"VisibleButDoesNotPrint",
|
||||
] as AcrobatVisibility[],
|
||||
{ terminalBlock: this.block },
|
||||
) as AcrobatVisibility | null;
|
||||
if (!visibility) continue;
|
||||
|
||||
|
@@ -28,7 +28,7 @@ export class ListFormFields implements ITool {
|
||||
|
||||
const buildRLines = () => {
|
||||
rLines = fieldNames.slice(offset, this.block!.getRenderHeight());
|
||||
this.block!.setLines(lines.concat(rLines), [0, 1]);
|
||||
this.block!.setLines(lines.concat(rLines));
|
||||
};
|
||||
buildRLines();
|
||||
|
||||
|
Reference in New Issue
Block a user