pi-render-btw 0.6.2 → 0.6.3

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/extensions/btw.ts CHANGED
@@ -1929,8 +1929,12 @@ export class BtwOverlayComponent extends Container implements Focusable {
1929
1929
  return;
1930
1930
  }
1931
1931
 
1932
- // Enter or Escape → exit peek mode
1933
- if (data === "\r" || data === "\n" || data === "\x1b" || data === "\x03") {
1932
+ // q/Ctrl+C close BTW; Enter/Escape return to the BTW composer.
1933
+ if (data === "q" || data === "\x03") {
1934
+ this.onDismissCallback();
1935
+ return;
1936
+ }
1937
+ if (data === "\r" || data === "\n" || data === "\x1b") {
1934
1938
  this.exitPeekMode();
1935
1939
  return;
1936
1940
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-render-btw",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "A pi extension for parallel side conversations with /btw — with markdown rendering in the floating window",
5
5
  "type": "module",
6
6
  "license": "MIT",