numux 1.13.0 → 1.14.0
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 +13 -2
- package/package.json +1 -1
package/dist/numux.js
CHANGED
|
@@ -36,7 +36,7 @@ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports,
|
|
|
36
36
|
var require_package = __commonJS((exports, module) => {
|
|
37
37
|
module.exports = {
|
|
38
38
|
name: "numux",
|
|
39
|
-
version: "1.
|
|
39
|
+
version: "1.14.0",
|
|
40
40
|
description: "Terminal multiplexer with dependency orchestration",
|
|
41
41
|
type: "module",
|
|
42
42
|
license: "MIT",
|
|
@@ -1906,10 +1906,13 @@ var SHORTCUTS = {
|
|
|
1906
1906
|
search: { key: "f", label: "F", description: "search" },
|
|
1907
1907
|
restart: { key: "r", label: "R", description: "restart" },
|
|
1908
1908
|
stopStart: { key: "s", label: "S", description: "stop/start" },
|
|
1909
|
-
clear: { key: "l", label: "L", description: "clear" }
|
|
1909
|
+
clear: { key: "l", label: "L", description: "clear" },
|
|
1910
|
+
scrollToTop: { key: "g", label: "G", description: "top" },
|
|
1911
|
+
scrollToBottom: { key: "g", label: "Shift+G", description: "bottom", shift: true }
|
|
1910
1912
|
};
|
|
1911
1913
|
var STATUS_HINTS = [
|
|
1912
1914
|
["\u2190\u2192/1-9", "tabs"],
|
|
1915
|
+
["G/Shift+G", "top/bottom"],
|
|
1913
1916
|
[SHORTCUTS.restart.label, SHORTCUTS.restart.description],
|
|
1914
1917
|
[SHORTCUTS.stopStart.label, SHORTCUTS.stopStart.description],
|
|
1915
1918
|
[SHORTCUTS.search.label, SHORTCUTS.search.description],
|
|
@@ -2517,6 +2520,14 @@ class App {
|
|
|
2517
2520
|
const isInteractive = this.config.processes[this.activePane]?.interactive === true;
|
|
2518
2521
|
if (!isInteractive) {
|
|
2519
2522
|
const name = key.name.toLowerCase();
|
|
2523
|
+
if (key.shift && name === SHORTCUTS.scrollToBottom.key) {
|
|
2524
|
+
this.panes.get(this.activePane)?.scrollToBottom();
|
|
2525
|
+
return;
|
|
2526
|
+
}
|
|
2527
|
+
if (name === SHORTCUTS.scrollToTop.key) {
|
|
2528
|
+
this.panes.get(this.activePane)?.scrollToTop();
|
|
2529
|
+
return;
|
|
2530
|
+
}
|
|
2520
2531
|
if (key.shift && name === SHORTCUTS.restartAll.key) {
|
|
2521
2532
|
this.manager.restartAll(this.termCols, this.termRows);
|
|
2522
2533
|
return;
|