fleetbo-cockpit-cli 1.0.126 → 1.0.127

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.
Files changed (2) hide show
  1. package/cli.js +4 -7
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -691,14 +691,11 @@ if (command === 'alex') {
691
691
  // Hint déjà visible → 2ème Entrée → soumet
692
692
  doSubmit();
693
693
  } else {
694
- // 1ère ligne vide : affiche le hint immédiatement
695
- // mais arme un timer de 400ms au cas où d'autres lignes arrivent (paste)
696
- // Si une ligne non-vide arrive → timer annulé, hint effacé, accumulation continue
694
+ // 1ère ligne vide : écrit le hint directement dans stdout
695
+ // process.stdout.write est visible immédiatement dans le terminal
696
+ // même si Xterm affiche "running" par-dessus
697
697
  hintShown = true;
698
- rl.setPrompt("\x1b[90m ↵ again to send\x1b[0m");
699
- rl.prompt();
700
- // Sécurité anti-paste : si une ligne non-vide arrive dans les 400ms,
701
- // hintShown repasse à false dans le bloc trimmedLine !== ""
698
+ process.stdout.write("\x1b[90m ↵ to confirm & send\x1b[0m\n");
702
699
  }
703
700
  } else {
704
701
  rl.setPrompt(`\x1b[34m${dynamicUsername} ❯ \x1b[0m`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.126",
3
+ "version": "1.0.127",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",