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 +6 -2
- package/package.json +1 -1
package/extensions/btw.ts
CHANGED
|
@@ -1929,8 +1929,12 @@ export class BtwOverlayComponent extends Container implements Focusable {
|
|
|
1929
1929
|
return;
|
|
1930
1930
|
}
|
|
1931
1931
|
|
|
1932
|
-
//
|
|
1933
|
-
if (data === "
|
|
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
|
}
|