How to take advantage of kitty text sizing protocol? #365
Replies: 1 comment
-
I should have been more specific in the release notes. Flow detects support for the kitty text sizing protocol and uses it to explicitly specify unicode character widths, but nothing else (yet). This gives perfect alignment of unicode character width expectations between flow and kitty. See this section of the protocol for Kovid's full explanation: https://sw.kovidgoyal.net/kitty/text-sizing-protocol/#fixing-the-character-width-issue-for-the-terminal-ecosystem The character width support is fully automatic and you don't need to enable or configure anything. You can see it at work with the
Yeah, this would be totally awesome and is definitely on my wishlist for the future, but we do not support it just yet.
Yes, this is probably the largest missing piece. We have no sizing info in our themes yet. The other missing piece is actually calculating layout for sized text. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
The README mentions support for the recently introduced kitty text sizing protocol.
My first dummy attempt was to open a random markdown file with headers and expect them to be displayed in various sizes.
This is pretty much the feature Kovid had in mind when he added this feature into his terminal.
I've not checked yet how theming/syntax highlighting is defined right now, but I assume that the markdown support does not yet declare the right attributes somehow for this feature?
Thanks for this great editor.
Beta Was this translation helpful? Give feedback.
All reactions