startall 0.0.21 → 0.0.22
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/index.js +11 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -660,6 +660,16 @@ class ProcessManager {
|
|
|
660
660
|
return;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
+
// Handle Ctrl+L - clear screen buffer and redraw
|
|
664
|
+
if (key.ctrl && key.name === 'l') {
|
|
665
|
+
if (this.phase === 'running') {
|
|
666
|
+
this.outputLines = [];
|
|
667
|
+
this.totalLinesReceived = 0;
|
|
668
|
+
this.buildRunningUI();
|
|
669
|
+
}
|
|
670
|
+
return;
|
|
671
|
+
}
|
|
672
|
+
|
|
663
673
|
this.handleInput(key.name, key);
|
|
664
674
|
this.render();
|
|
665
675
|
});
|
|
@@ -4290,6 +4300,7 @@ class ProcessManager {
|
|
|
4290
4300
|
{ key: '/', desc: 'filter', color: COLORS.cyan },
|
|
4291
4301
|
{ key: 'c', desc: 'color', color: COLORS.magenta },
|
|
4292
4302
|
{ key: 'y', desc: 'copy', color: COLORS.accent },
|
|
4303
|
+
{ key: '^L', desc: 'clear', color: COLORS.cyan },
|
|
4293
4304
|
],
|
|
4294
4305
|
// Misc
|
|
4295
4306
|
[
|