numux 1.11.0 → 1.11.2
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/numux.js +10 -15
- package/package.json +1 -1
package/dist/numux.js
CHANGED
|
@@ -22,7 +22,7 @@ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports,
|
|
|
22
22
|
var require_package = __commonJS((exports, module) => {
|
|
23
23
|
module.exports = {
|
|
24
24
|
name: "numux",
|
|
25
|
-
version: "1.11.
|
|
25
|
+
version: "1.11.2",
|
|
26
26
|
description: "Terminal multiplexer with dependency orchestration",
|
|
27
27
|
type: "module",
|
|
28
28
|
license: "MIT",
|
|
@@ -1424,7 +1424,7 @@ class ProcessRunner {
|
|
|
1424
1424
|
`;
|
|
1425
1425
|
this.handler.onOutput(encoder.encode(msg));
|
|
1426
1426
|
}
|
|
1427
|
-
if (!this.readyTimedOut) {
|
|
1427
|
+
if (!(this.readyTimedOut || this.restarting)) {
|
|
1428
1428
|
const status = this.stopping ? "stopped" : code === 0 ? "finished" : "failed";
|
|
1429
1429
|
this.handler.onStatus(status);
|
|
1430
1430
|
this.handler.onExit(code);
|
|
@@ -1876,7 +1876,7 @@ import { BoxRenderable, createCliRenderer } from "@opentui/core";
|
|
|
1876
1876
|
// src/ui/keybindings.ts
|
|
1877
1877
|
var SHORTCUTS = {
|
|
1878
1878
|
restartAll: { key: "r", label: "Shift+R", description: "restart all", shift: true },
|
|
1879
|
-
copy: { key: "y", label: "Y", description: "copy" },
|
|
1879
|
+
copy: { key: "y", label: "Y/\u2318C", description: "copy" },
|
|
1880
1880
|
search: { key: "f", label: "F", description: "search" },
|
|
1881
1881
|
restart: { key: "r", label: "R", description: "restart" },
|
|
1882
1882
|
stopStart: { key: "s", label: "S", description: "stop/start" },
|
|
@@ -1921,7 +1921,8 @@ class Pane {
|
|
|
1921
1921
|
rows,
|
|
1922
1922
|
persistent: true,
|
|
1923
1923
|
showCursor: interactive,
|
|
1924
|
-
trimEnd: true
|
|
1924
|
+
trimEnd: true,
|
|
1925
|
+
flexGrow: 1
|
|
1925
1926
|
});
|
|
1926
1927
|
const origOnSelectionChanged = this.terminal.onSelectionChanged.bind(this.terminal);
|
|
1927
1928
|
this.terminal.onSelectionChanged = (selection) => {
|
|
@@ -2464,6 +2465,10 @@ class App {
|
|
|
2464
2465
|
});
|
|
2465
2466
|
this.renderer.keyInput.on("keypress", (key) => {
|
|
2466
2467
|
log(key);
|
|
2468
|
+
if (key.meta && key.name === "c") {
|
|
2469
|
+
this.copySelection();
|
|
2470
|
+
return;
|
|
2471
|
+
}
|
|
2467
2472
|
if (key.ctrl && key.name === "c") {
|
|
2468
2473
|
if (this.searchMode) {
|
|
2469
2474
|
this.exitSearch();
|
|
@@ -2806,17 +2811,7 @@ class PrefixDisplay {
|
|
|
2806
2811
|
this.printLine(name, line);
|
|
2807
2812
|
}
|
|
2808
2813
|
}
|
|
2809
|
-
handleStatus(
|
|
2810
|
-
if (status === "ready" || status === "failed" || status === "finished" || status === "stopped" || status === "skipped") {
|
|
2811
|
-
if (this.noColor) {
|
|
2812
|
-
this.printLine(name, `\u2192 ${status}`);
|
|
2813
|
-
} else {
|
|
2814
|
-
const ansi = STATUS_ANSI[status];
|
|
2815
|
-
const statusText = ansi ? `${ansi}${status}${RESET}` : status;
|
|
2816
|
-
this.printLine(name, `${DIM}\u2192 ${statusText}${DIM}${RESET}`);
|
|
2817
|
-
}
|
|
2818
|
-
}
|
|
2819
|
-
}
|
|
2814
|
+
handleStatus(_name, _status) {}
|
|
2820
2815
|
formatTimestamp() {
|
|
2821
2816
|
const now = new Date;
|
|
2822
2817
|
const h = String(now.getHours()).padStart(2, "0");
|