Skip to content

terminal/kitty: fix various validation behaviors to match Kitty - #13933

Merged
mitchellh merged 1 commit into
mainfrom
kitty-validate
Aug 20, 2026
Merged

mitchellh merged 1 commit into
mainfrom
kitty-validate

Conversation

@mitchellh

Copy link
Copy Markdown
Contributor

There are various validation behaviors we did that matched the spec but didn't match Kitty, because Kitty is written in C (these parts) and does a lot of C-ish things (like bool is any non-zero value, despite the spec saying 1/0).

This also fixes a more major issue where invalid formats should be deferred until transmission finishes so we send a proper response. Right now we send no response which can cause a client to hang!

@mitchellh mitchellh added this to the 1.4.0 milestone Aug 20, 2026
@mitchellh
mitchellh requested a review from a team as a code owner August 20, 2026 16:09
There are various validation behaviors we did that matched the spec but
didn't match Kitty, because Kitty is written in C (these parts) and does
a lot of C-ish things (like bool is any non-zero value, despite the spec
saying 1/0). 

This also fixes a more major issue where invalid formats should be
deferred until transmission finishes so we send a proper response. Right
now we send no response which can cause a client to hang!
@mitchellh
mitchellh merged commit b6cbaf5 into main Aug 20, 2026
32 checks passed
@mitchellh
mitchellh deleted the kitty-validate branch August 20, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant