pi-polish 0.1.14 → 0.1.15

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.
@@ -637,8 +637,9 @@ export default function (pi: ExtensionAPI) {
637
637
  const pulse = secs % 2 ? "dim" : "accent";
638
638
  const head = theme.fg(pulse, `${MARK} `) + theme.fg("toolTitle", `${summary(group, true)}…`) + theme.fg("dim", ` · ${secs}s`) + failNote;
639
639
  const latest = active.latest ? [theme.fg("dim", ` ${active.latest}`)] : [];
640
- // pi-background marks commands that ctrl+b can move to the background
641
- const movable = (globalThis as any)[Symbol.for("pi-background.movable")]?.has(active.id) ? [theme.fg("dim", " (ctrl+b to run in background)")] : [];
640
+ // pi-background marks commands that its shortcut (ctrl+b unless set otherwise) can move to the background
641
+ const moveKey = (globalThis as any)[Symbol.for("pi-background.moveKey")]?.() ?? "ctrl+b";
642
+ const movable = (globalThis as any)[Symbol.for("pi-background.movable")]?.has(active.id) ? [theme.fg("dim", ` (${moveKey} to run in background)`)] : [];
642
643
  return oneLine([head, theme.fg("dim", ` └ ${active.label}`), ...latest, ...movable]);
643
644
  }
644
645
  // Finished rows go quiet, like Claude Code's: dim text, with a red ● only when something failed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-polish",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "license": "MIT",
5
5
  "author": "Thomas van Dongen",
6
6
  "type": "module",