jsgotty 1.1.11 → 1.1.12

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/gotty.js +4 -3
  2. package/package.json +1 -1
package/gotty.js CHANGED
@@ -1173,9 +1173,9 @@ class KittyGraphicsParser {
1173
1173
 
1174
1174
  if (control.m === "1") {
1175
1175
  this.transfers.set(key, existing);
1176
- if (!control.i && !control.I) {
1177
- this.implicitTransferKey = key;
1178
- }
1176
+ // Later chunks of a transfer only need m=; they continue the transfer
1177
+ // in progress whether or not its first chunk named an image id.
1178
+ this.implicitTransferKey = key;
1179
1179
  return null;
1180
1180
  }
1181
1181
 
@@ -3314,6 +3314,7 @@ async function bootstrap() {
3314
3314
 
3315
3315
  module.exports.CursorStateTracker = CursorStateTracker;
3316
3316
  module.exports.KittyGraphicsParser = KittyGraphicsParser;
3317
+ module.exports.BunPtyBackend = BunPtyBackend;
3317
3318
  module.exports.webSocketOriginAllowed = webSocketOriginAllowed;
3318
3319
 
3319
3320
  if (require.main === module) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsgotty",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Share your terminal as a web application: A JavaScript rewrite of GoTTY",
5
5
  "license": "MIT",
6
6
  "bin": {