numux 2.17.1 → 2.17.3
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/man/numux.1 +1 -1
- package/dist/numux.js +12 -1
- package/package.json +1 -1
package/dist/man/numux.1
CHANGED
package/dist/numux.js
CHANGED
|
@@ -885,7 +885,7 @@ var init_help = __esm(() => {
|
|
|
885
885
|
var require_package = __commonJS((exports, module) => {
|
|
886
886
|
module.exports = {
|
|
887
887
|
name: "numux",
|
|
888
|
-
version: "2.17.
|
|
888
|
+
version: "2.17.3",
|
|
889
889
|
description: "Terminal multiplexer with dependency orchestration",
|
|
890
890
|
type: "module",
|
|
891
891
|
license: "MIT",
|
|
@@ -4997,6 +4997,7 @@ class App {
|
|
|
4997
4997
|
useMouse: true,
|
|
4998
4998
|
useKittyKeyboard: {}
|
|
4999
4999
|
});
|
|
5000
|
+
this.forceFullRepaints(this.renderer);
|
|
5000
5001
|
const { width, height } = this.renderer;
|
|
5001
5002
|
const maxNameLen = Math.max(...this.names.map((n) => n.length));
|
|
5002
5003
|
this.sidebarWidth = Math.min(30, Math.max(16, maxNameLen + 5));
|
|
@@ -5279,6 +5280,16 @@ class App {
|
|
|
5279
5280
|
}
|
|
5280
5281
|
}
|
|
5281
5282
|
}
|
|
5283
|
+
forceFullRepaints(renderer) {
|
|
5284
|
+
const r = renderer;
|
|
5285
|
+
if (!("forceFullRepaintRequested" in r)) {
|
|
5286
|
+
log("warning: @opentui/core has no forceFullRepaintRequested flag \u2014 render-drift workaround inactive");
|
|
5287
|
+
return;
|
|
5288
|
+
}
|
|
5289
|
+
renderer.setFrameCallback(async () => {
|
|
5290
|
+
r.forceFullRepaintRequested = true;
|
|
5291
|
+
});
|
|
5292
|
+
}
|
|
5282
5293
|
switchPane(name) {
|
|
5283
5294
|
if (this.activePane === name)
|
|
5284
5295
|
return;
|