fleetbo-cockpit-cli 1.0.134 → 1.0.136
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/cli.js +2 -3
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -661,10 +661,9 @@ if (command === 'alex') {
|
|
|
661
661
|
else {
|
|
662
662
|
if (inputBuffer.trim() !== "") {
|
|
663
663
|
if (!hintShown) {
|
|
664
|
-
// 1ère ligne vide →
|
|
664
|
+
// 1ère ligne vide → écrit le hint dans le PTY (visible par Xterm)
|
|
665
665
|
hintShown = true;
|
|
666
|
-
|
|
667
|
-
rl.prompt();
|
|
666
|
+
process.stdout.write('\x1b[90m ↵ again to send\x1b[0m\n');
|
|
668
667
|
} else {
|
|
669
668
|
// 2ème ligne vide → soumet
|
|
670
669
|
hintShown = false;
|