Testing conformance to the kitty TGP (terminal graphics protocol)
#6331
ctrlcctrlv
started this conversation in
Ideas
Replies: 3 comments 3 replies
-
|
wezterm as I recall has a bug that if you dont provide distinct image ids it overwrites the previous image. IIRC there is already an open issue about it. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
On Sat, Jun 03, 2023 at 09:17:17PM -0700, Fredrick Brennan wrote:
Good idea, I'll make a test for that too. For `typescript` distributed conformance tests I can't really test the memory or file features as they won't work outside my environment, but not all conformance tests must be `typescript`'s, they're just easiest to run as `scriptreplay` is part of `util-linux`.
I think a conformance test suite for TGP is needed. Thought about it while writing TFP, which I'm still working on.
Yes, definitely, someday, especially if I write a PTY server in kitten.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I think it would be appreciated. Whether in form of raw PNG window captures (for a given set of commands/assets/terminal size/prompt, fg/bg color and timeout) or scriptreplay sequences, it would allow conformance evaluation on a (not-so-simple) spec. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have recently decided to begin writing some conformance tests as
typescriptsfor the Kitty TGP.kitty-TGP-001.tar.gz
Here is the first one. The result is not altogether good for non-
kittyTGP implementers.kitty(baseline) (perfect pass)2023-06-03.14-37-44.mp4
konsole(near-perfect pass)konsolefails to composite askittydoes. Note how the alpha around the cartoon characters remains constant rather than gets progressively harsher.2023-06-03.14-38-52.mp4
wezterm(catastrophic failure)@wez's term fails in every way conceivable.
2023-06-03.14-39-52.mp4
Beta Was this translation helpful? Give feedback.
All reactions