29730eb643
Kitty implements OSC 5522 paste-event listings by sending one DATA packet whose mime field decodes to the literal dot sentinel and whose payload carries the available types as a whitespace-separated list. The TUI previously only honored the ancillary per-type DATA-packet form, so plain-text Kitty pastes were rejected as unsupported. Decode the dot-listing payload during the listing phase and keep the per-type packet path as a fallback. Also emit the follow-up OSC 5522 read request using the Kitty protocol shape: the selected MIME list belongs in the request payload, not in mime metadata. Sending it as metadata makes Kitty parse an empty requested MIME list and returns no clipboard bytes, which surfaces as an empty paste. Add regression coverage for Kitty's text-only and multi-type listings, and assert the payload-form read requests for default and primary selection paste events. Fixes #2051