Take the jolt-native that draws a picture in a terminal
c2d912f6: an `:image` reserves the cells its shape asks for, and the terminal draws over them through the Kitty graphics protocol — the one Ghostty speaks, and kitty and WezTerm. The file goes over as it is, so nothing in the terminal backend decodes an image; that is the bargain libvidya already makes, and why frq caches PNG and nothing else. Where the protocol is not there — a terminal that does not speak it, a multiplexer in the way — the cells say a picture is here and the link in the message is the way to it, which is what a reader had before. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
962fcce parent: 0623590 modified
flake.lock +5 -5 | @@ -110,16 +110,16 @@ | ||
| 110 | 110 | "jolt-native": { |
| 111 | 111 | "flake": false, |
| 112 | 112 | "locked": { |
| 113 | - "lastModified": 1788420146, | |
| 114 | - "narHash": "sha256-U5Z/ekhVdMashVpJZJK+OL2CzXRQuAv2Dd/CCWjaIII=", | |
| 113 | + "lastModified": 1788424155, | |
| 114 | + "narHash": "sha256-Nhs7PyighRRT8DSha1UUrOjl5IZ2wkNMGM1ihFiwHsc=", | |
| 115 | 115 | "ref": "refs/heads/main", |
| 116 | - "rev": "3dd441e764bc6b0123d9b33fe9871dcf7ac150b6", | |
| 117 | - "revCount": 40, | |
| 116 | + "rev": "c2d912f670b7a2e5808970d17cecf51c6c87cfbf", | |
| 117 | + "revCount": 41, | |
| 118 | 118 | "type": "git", |
| 119 | 119 | "url": "https://gitlab.com/nandithebull/jolt-native" |
| 120 | 120 | }, |
| 121 | 121 | "original": { |
| 122 | - "rev": "3dd441e764bc6b0123d9b33fe9871dcf7ac150b6", | |
| 122 | + "rev": "c2d912f670b7a2e5808970d17cecf51c6c87cfbf", | |
| 123 | 123 | "type": "git", |
| 124 | 124 | "url": "https://gitlab.com/nandithebull/jolt-native" |
| 125 | 125 | } |
| @@ -110,16 +110,16 @@ | |||
| 110 | "jolt-native": { | 110 | "jolt-native": { |
| 111 | "flake": false, | 111 | "flake": false, |
| 112 | "locked": { | 112 | "locked": { |
| 113 | - "lastModified": 1788420146, | 113 | + "lastModified": 1788424155, |
| 114 | - "narHash": "sha256-U5Z/ekhVdMashVpJZJK+OL2CzXRQuAv2Dd/CCWjaIII=", | 114 | + "narHash": "sha256-Nhs7PyighRRT8DSha1UUrOjl5IZ2wkNMGM1ihFiwHsc=", |
| 115 | "ref": "refs/heads/main", | 115 | "ref": "refs/heads/main", |
| 116 | - "rev": "3dd441e764bc6b0123d9b33fe9871dcf7ac150b6", | 116 | + "rev": "c2d912f670b7a2e5808970d17cecf51c6c87cfbf", |
| 117 | - "revCount": 40, | 117 | + "revCount": 41, |
| 118 | "type": "git", | 118 | "type": "git", |
| 119 | "url": "https://gitlab.com/nandithebull/jolt-native" | 119 | "url": "https://gitlab.com/nandithebull/jolt-native" |
| 120 | }, | 120 | }, |
| 121 | "original": { | 121 | "original": { |
| 122 | - "rev": "3dd441e764bc6b0123d9b33fe9871dcf7ac150b6", | 122 | + "rev": "c2d912f670b7a2e5808970d17cecf51c6c87cfbf", |
| 123 | "type": "git", | 123 | "type": "git", |
| 124 | "url": "https://gitlab.com/nandithebull/jolt-native" | 124 | "url": "https://gitlab.com/nandithebull/jolt-native" |
| 125 | } | 125 | } |
modified
flake.nix +1 -1 | @@ -46,7 +46,7 @@ | ||
| 46 | 46 | # drift this comment warns about wearing a different hat: one input, and |
| 47 | 47 | # the window and the terminal are the same library either way. |
| 48 | 48 | jolt-native = { |
| 49 | - url = "git+https://gitlab.com/nandithebull/jolt-native?rev=3dd441e764bc6b0123d9b33fe9871dcf7ac150b6"; | |
| 49 | + url = "git+https://gitlab.com/nandithebull/jolt-native?rev=c2d912f670b7a2e5808970d17cecf51c6c87cfbf"; | |
| 50 | 50 | flake = false; |
| 51 | 51 | }; |
| 52 | 52 | |
| @@ -46,7 +46,7 @@ | |||
| 46 | # drift this comment warns about wearing a different hat: one input, and | 46 | # drift this comment warns about wearing a different hat: one input, and |
| 47 | # the window and the terminal are the same library either way. | 47 | # the window and the terminal are the same library either way. |
| 48 | jolt-native = { | 48 | jolt-native = { |
| 49 | - url = "git+https://gitlab.com/nandithebull/jolt-native?rev=3dd441e764bc6b0123d9b33fe9871dcf7ac150b6"; | 49 | + url = "git+https://gitlab.com/nandithebull/jolt-native?rev=c2d912f670b7a2e5808970d17cecf51c6c87cfbf"; |
| 50 | flake = false; | 50 | flake = false; |
| 51 | }; | 51 | }; |
| 52 | 52 | ||