rio icon indicating copy to clipboard operation
rio copied to clipboard

Support Kitty font size protocol

Open orhun opened this issue 9 months ago • 5 comments

The kitty terminal added in version 0.40.0 support for a new protocol that allows TUIs to specify the font size to be used when printing text. See: https://sw.kovidgoyal.net/kitty/text-sizing-protocol/

It would be nice to support this in Rio as well.

orhun avatar Mar 09 '25 11:03 orhun

+1

scientiac avatar Mar 12 '25 11:03 scientiac

Thank you for the issue! I have a bit of opinions about the protocol itself, I actually would prefer to Rio have its own version of it. I know people from kitty will not like this but I wouldn’t like to add something I feel has room to improvement.

To be frank I started something similar that I will need for Boo editor https://github.com/raphamorim/boo

raphamorim avatar Mar 12 '25 12:03 raphamorim

How about improving the protocol itself in Kitty instead of doing a fully custom implementation in Rio/boo?

It would help to unify the standards to not have fragmentations in the terminal ecosystem.

orhun avatar Mar 12 '25 12:03 orhun

How about improving the protocol itself in Kitty instead of doing a fully custom implementation in Rio/boo?

But Rio protocol would be implemented in Kitty?

Both are quite different tbh, but have the same goal

raphamorim avatar Mar 12 '25 12:03 raphamorim

No I mean improving the protocol (specification) in Kitty first then implementing it here.

Both are quite different tbh, but have the same goal

Yeah, that's my concern. But I guess everyone is free to do whatever they want.

orhun avatar Mar 12 '25 20:03 orhun