buninu 0.4.13 → 0.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.15 - 2026-09-22
4
+
5
+ ### Changed
6
+
7
+ - Sync jsgotty to 1.1.12
8
+ * Export `BunPtyBackend` from `gotty.js`, the PTY layer built on
9
+ `Bun.spawn({ terminal })`, so other programs can run a command on a
10
+ pseudo-terminal without their own FFI. Buninu Linux's `bunterm`, a
11
+ graphical terminal on the framebuffer, is its first user, together with
12
+ the already exported `KittyGraphicsParser`
13
+
14
+ ### Fixed
15
+
16
+ - jsgotty: a chunked kitty graphics transfer whose first chunk names an
17
+ image id (`i=`) is now continued by later chunks that carry only `m=`, as
18
+ the protocol allows. Previously those chunks were treated as new anonymous
19
+ transfers, so the image never completed. jsgotty's own `showimg` repeats
20
+ the id in every chunk and was unaffected; `kitten icat`, timg, chafa and
21
+ similar clients were
22
+
23
+ ## 0.4.13 - 2026-09-22
24
+
25
+ ### Changed
26
+
27
+ - Sync bunmsh to 0.3.9
28
+ * `Ctrl-U` removes and saves the text before the cursor; pressing it again
29
+ at the beginning of the line restores it. `Ctrl-K` independently toggles
30
+ the text after the cursor when at the end of the line
31
+ * Unquoted pathname patterns follow directory symbolic links used as
32
+ intermediate path components, as traditional shells do, so patterns such
33
+ as `/sys/class/net/*/device` pass through sysfs class links
34
+ * The fallback `ls`/`lsfancy` lists a glob's files as one listing instead
35
+ of one section per file, honors `--`, and follows a command-line symlink
36
+ to a directory
37
+ - Sync jsmdcui to 0.19.2
38
+ * Pressing `Ctrl-W` twice quickly switches to the next tab like `Alt-T`
39
+ from either an editor or a terminal pane; at the rightmost tab, when every
40
+ tab holds only terminal panes, it opens a new editor tab instead of
41
+ cycling back
42
+
3
43
  ## 0.4.12 - 2026-09-20
4
44
 
5
45
  ### Fixed
@@ -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) {
@@ -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": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buninu",
3
- "version": "0.4.13",
3
+ "version": "0.4.15",
4
4
  "description": "Buninu is a portable, self-bootstrapping Unix-like userspace built on Bun that runs across operating systems",
5
5
  "type": "module",
6
6
  "main": "./bin/init.js",