omnius 1.0.290 → 1.0.291
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 +10 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -608777,8 +608777,18 @@ var init_status_bar = __esm({
|
|
|
608777
608777
|
return;
|
|
608778
608778
|
}
|
|
608779
608779
|
if (cmd === "header-toggle") {
|
|
608780
|
+
const wasExpanded = this._headerExpanded;
|
|
608780
608781
|
this._headerExpanded = !this._headerExpanded;
|
|
608781
608782
|
this.refreshHeaderAndFooter();
|
|
608783
|
+
this.scrollRegionTop += this._headerExpanded ? 2 : -2;
|
|
608784
|
+
if (this.active) {
|
|
608785
|
+
this.applyScrollRegion();
|
|
608786
|
+
this.renderFooterAndPositionInput();
|
|
608787
|
+
}
|
|
608788
|
+
if (!this._headerExpanded && wasExpanded) {
|
|
608789
|
+
const base3 = this.scrollRegionTop;
|
|
608790
|
+
this.termWrite(`\x1B[${base3};1H\x1B[2K\x1B[${base3 + 1};1H\x1B[2K`);
|
|
608791
|
+
}
|
|
608782
608792
|
return;
|
|
608783
608793
|
}
|
|
608784
608794
|
setPressedButton(cmd);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.291",
|
|
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.291",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED