You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to check that DECRQM is not supported (by Mac Terminal) ?
How to handle kitty and iterm2 which seem to support grapheme clusters but don't report accordingly ?
Thanks.
The text was updated successfully, but these errors were encountered:
For Terminal.app, there isn't much you can do. I would instead encourage users to use another terminal unfortunately. I will link the best comment I've ever read from notcurses. As the comment suggests, you can check for TERM_PROGRAM=Apple_Terminal
Kitty
Kitty does clustering but doesn't know about ZWJs. The way to calculate widths here is to strip ZWJs and then calculate using standard clustering techniques. I detect kitty in my go library by issuing an XTVERSION query and checking for the presence of "kitty" within the returned string. Kovid has stated he does not want to support mode 2027 style unicode.
iTerm2
I don't use macOS so I haven't tested clustering capabilities on mac. Possibly you could use the XTVERSION query as in kitty.
Hi,
I am trying to solve emoji rendering for rustyline.
And
libvaxis
seems to use this sequence:libvaxis/src/ctlseqs.zig
Line 9 in 6285467
to check how the current terminal behaves.
So I tried
zig build example -Dexample=cli
.But some terminals don't behave correctly.
Those terminals answer to
decrqm_unicode
like:garbage (sequence not supported?)
How to check that DECRQM is not supported (by Mac Terminal) ?
How to handle
kitty
anditerm2
which seem to support grapheme clusters but don't report accordingly ?Thanks.
The text was updated successfully, but these errors were encountered: