Repository navigation
Replies: 1 comment
|
I don't think these are about the same problem. OSC 66 is a protocol for requesting specific text rendering characteristics from terminals that implement it. Clink, wcwidth, and wcwidth-verifier need to determine how the current terminal actually renders Unicode text under its existing behavior, for text that Clink does not produce or control. Those are different problems, and Windows Terminal and ConPTY don't implement OSC 66. Even if every terminal on Earth implemented OSC 66 tomorrow, you'd still need something like the wcwidth library or Clink's enhanced wcwidth library (tuned for several different commonly used versions of Windows, terminals, locales, and system configurations), and wcwidth-verifier which helps with tuning the enhanced wcwidth library as things continue to evolve over time. Some of the reasons why are:
OSC 66 doesn't address any of those. |
Uh oh!
There was an error while loading. Please reload this page.
https://github.com/kovidgoyal/kitty
https://sw.kovidgoyal.net/kitty/text-sizing-protocol/
A Linux terminal enhancement tool. Almost the same way as the clink does.
I've remembered it from that conversation: #664 (comment)
May be you would find it interesting too.
All reactions