groundcrew-cli 0.15.7 → 0.15.8

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/index.js CHANGED
@@ -467,10 +467,11 @@ function setupInlineSuggestions(rl) {
467
467
  };
468
468
  process.stdin.on("keypress", (_ch, key) => {
469
469
  if (!key) return;
470
- if (key.name === "return" && key.shift) {
470
+ if (key.ctrl && key.name === "j") {
471
471
  const line = rl.line;
472
472
  rl.line = line + "\\";
473
473
  rl.cursor = rl.line.length;
474
+ rl._line();
474
475
  return;
475
476
  }
476
477
  clearGhost();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "groundcrew-cli",
3
- "version": "0.15.7",
3
+ "version": "0.15.8",
4
4
  "description": "CLI companion for Groundcrew — queue tasks, send feedback, monitor your Copilot agent from another terminal.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -622,12 +622,13 @@ function setupInlineSuggestions(rl: readline.Interface): void {
622
622
  process.stdin.on("keypress", (_ch: string, key: any) => {
623
623
  if (!key) return;
624
624
 
625
- // Shift+Enter: insert newline marker instead of submitting
626
- if (key.name === "return" && key.shift) {
627
- // Append backslash to trigger line continuation, then simulate Enter
625
+ // Ctrl+J: insert line continuation (Shift+Enter not detectable in most terminals)
626
+ if (key.ctrl && key.name === "j") {
628
627
  const line = (rl as any).line as string;
629
628
  (rl as any).line = line + "\\";
630
629
  (rl as any).cursor = (rl as any).line.length;
630
+ // Simulate Enter to trigger continuation prompt
631
+ (rl as any)._line();
631
632
  return;
632
633
  }
633
634