omnius 1.0.117 → 1.0.119
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 +22 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -573327,6 +573327,15 @@ var init_status_bar = __esm({
|
|
|
573327
573327
|
_inProgressLine = "";
|
|
573328
573328
|
/** Throttled repaint timer for the live streaming tail (partial line). */
|
|
573329
573329
|
_streamingRepaintTimer = null;
|
|
573330
|
+
/**
|
|
573331
|
+
* A dynamic block repaint positions box rows via absolute cursor moves but
|
|
573332
|
+
* does not advance the terminal's live cursor below the expanded block.
|
|
573333
|
+
* The next content write session must therefore repaint from scrollback
|
|
573334
|
+
* instead of writing at the stale cursor, or multi-line injections like
|
|
573335
|
+
* "Context added" can overwrite the box bottom border.
|
|
573336
|
+
*/
|
|
573337
|
+
_contentCursorNeedsReplay = false;
|
|
573338
|
+
_contentCursorReplayActive = false;
|
|
573330
573339
|
/** Auto-scroll to live when new content arrives (disabled when user scrolls back) */
|
|
573331
573340
|
_autoScroll = true;
|
|
573332
573341
|
/** Cached click region for the spacer button */
|
|
@@ -573466,7 +573475,11 @@ var init_status_bar = __esm({
|
|
|
573466
573475
|
}
|
|
573467
573476
|
if (this._autoScroll && !this._mouseSelecting)
|
|
573468
573477
|
this._contentScrollOffset = 0;
|
|
573469
|
-
if (this.active)
|
|
573478
|
+
if (this.active) {
|
|
573479
|
+
this.repaintContent();
|
|
573480
|
+
this._contentCursorNeedsReplay = true;
|
|
573481
|
+
if (this.writeDepth > 0) this._contentCursorReplayActive = true;
|
|
573482
|
+
}
|
|
573470
573483
|
}
|
|
573471
573484
|
/** Force a complete footer redraw (public wrapper for renderFooterAndPositionInput).
|
|
573472
573485
|
*
|
|
@@ -575329,6 +575342,7 @@ var init_status_bar = __esm({
|
|
|
575329
575342
|
if (!this.active) return;
|
|
575330
575343
|
this.writeDepth++;
|
|
575331
575344
|
if (this.writeDepth > 1) return;
|
|
575345
|
+
this._contentCursorReplayActive = this._contentCursorNeedsReplay;
|
|
575332
575346
|
if (isOverlayActive()) {
|
|
575333
575347
|
return;
|
|
575334
575348
|
}
|
|
@@ -575374,6 +575388,11 @@ var init_status_bar = __esm({
|
|
|
575374
575388
|
}
|
|
575375
575389
|
if (bufferedContentChanged) self2.scheduleStreamingRepaint();
|
|
575376
575390
|
}
|
|
575391
|
+
if (self2._contentCursorReplayActive && bufferedContentChanged && self2._bufferContent && !isOverlayActive()) {
|
|
575392
|
+
self2.clearStreamingRepaintTimer();
|
|
575393
|
+
self2.repaintContent();
|
|
575394
|
+
return true;
|
|
575395
|
+
}
|
|
575377
575396
|
if (typeof chunk === "string") {
|
|
575378
575397
|
chunk = chunk.replace(/\x1B\[0m/g, `\x1B[0m${CONTENT_BG_SEQ}`).replace(/\n/g, `\x1B[K
|
|
575379
575398
|
${CONTENT_BG_SEQ}`);
|
|
@@ -575417,6 +575436,8 @@ ${CONTENT_BG_SEQ}`);
|
|
|
575417
575436
|
this._inProgressLine = "";
|
|
575418
575437
|
}
|
|
575419
575438
|
this._bufferContent = false;
|
|
575439
|
+
this._contentCursorNeedsReplay = false;
|
|
575440
|
+
this._contentCursorReplayActive = false;
|
|
575420
575441
|
if (this._origWrite) {
|
|
575421
575442
|
try {
|
|
575422
575443
|
delete process.stdout.write.__omniusWriteLayer;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.119",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.119",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED