nexrall-code 0.5.85 → 0.5.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -65146,7 +65146,8 @@ var App2 = ({ onReady }) => {
|
|
|
65146
65146
|
forceFullRedrawRef = null;
|
|
65147
65147
|
};
|
|
65148
65148
|
}, [forceFullRedraw]);
|
|
65149
|
-
const collapseStartupPadding = (0, import_react35.useCallback)(() => {
|
|
65149
|
+
const collapseStartupPadding = (0, import_react35.useCallback)(async () => {
|
|
65150
|
+
await inkInstance?.waitUntilRenderFlush();
|
|
65150
65151
|
process.stdout.write("\x1B[2J\x1B[H");
|
|
65151
65152
|
setStaticKey((k) => k + 1);
|
|
65152
65153
|
}, []);
|
|
@@ -66243,7 +66244,7 @@ ${text}` : "");
|
|
|
66243
66244
|
}
|
|
66244
66245
|
if (startupPadded) {
|
|
66245
66246
|
startupPadded = false;
|
|
66246
|
-
getInkTerminal().collapseStartupPadding();
|
|
66247
|
+
await getInkTerminal().collapseStartupPadding();
|
|
66247
66248
|
}
|
|
66248
66249
|
if (userInput.startsWith("/")) {
|
|
66249
66250
|
const parts = userInput.split(/\s+/);
|