project-compass 3.4.1 → 3.4.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/package.json +1 -1
- package/src/cli.js +5 -1
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -442,6 +442,10 @@ function Compass({rootPath, initialView = 'navigator'}) {
|
|
|
442
442
|
if (hasRunningTasks) setQuitConfirm(true); else exit();
|
|
443
443
|
return;
|
|
444
444
|
}
|
|
445
|
+
if (isCtrlC) {
|
|
446
|
+
if (hasRunningTasks) setQuitConfirm(true); else exit();
|
|
447
|
+
return;
|
|
448
|
+
}
|
|
445
449
|
if (shiftCombo('c') && viewMode === 'detail' && selectedProject) { setCustomMode(true); setCustomInput(''); setCustomCursor(0); return; }
|
|
446
450
|
|
|
447
451
|
const actionKey = normalizedInput && ACTION_MAP[normalizedInput];
|
|
@@ -559,7 +563,7 @@ function Compass({rootPath, initialView = 'navigator'}) {
|
|
|
559
563
|
create(Box, {marginTop: 1, flexDirection: 'column'},
|
|
560
564
|
create(Box, {flexDirection: 'row', justifyContent: 'space-between'}, create(Text, {bold: true, color: 'yellow'}, `Output: ${activeTask?.name || 'None'}`), create(Text, {dimColor: true}, logOffset ? `Scrolled ${logOffset} lines` : 'Live log view')),
|
|
561
565
|
create(OutputPanel, {activeTask, logOffset}),
|
|
562
|
-
create(Box, {marginTop: 1, flexDirection: 'row', justifyContent: 'space-between'}, create(Text, {dimColor: true}, running ? 'Type to feed stdin; Enter: submit
|
|
566
|
+
create(Box, {marginTop: 1, flexDirection: 'row', justifyContent: 'space-between'}, create(Text, {dimColor: true}, running ? 'Type to feed stdin; Enter: submit.' : 'Run a command or press Shift+T to switch tasks.'), create(Text, {dimColor: true}, `${toggleHint}, Shift+S: Structure Guide`)),
|
|
563
567
|
create(Box, {marginTop: 1, flexDirection: 'row', borderStyle: 'round', borderColor: running ? 'green' : 'gray', paddingX: 1}, create(Text, {bold: true, color: 'green'}, running ? ' Stdin buffer ' : ' Input ready '), create(Box, {marginLeft: 1}, create(CursorText, {value: stdinBuffer || (running ? '' : 'Start a command to feed stdin'), cursorIndex: stdinCursor, active: running})))
|
|
564
568
|
),
|
|
565
569
|
config.showHelpCards && create(Box, {marginTop: 1, flexDirection: 'row', justifyContent: 'space-between', flexWrap: 'wrap'}, [
|