Skip to content

Conversation

@jquast
Copy link
Owner

@jquast jquast commented Jan 18, 2026

Most importantly, adds ambiguous_width=1 argument to all functions, may be set to '2' for CJK context.

in bin/update-tables.py:

  • bugfix and invert logic to never check remote url unless file is missing in bin/update-tables.py
  • bugfix fetching of intermediary/unused emoji version urls when --fetch-all-versions used
  • generate code for ambiguous wide characters

Documentation suggests to see source code of, or to use the blessed library method, detect_ambiguous_width() to determine the argument,

@jquast jquast force-pushed the jq/ambiguous-width branch from 196f7ea to 46be512 Compare January 19, 2026 02:11
jquast added a commit to jquast/blessed that referenced this pull request Jan 19, 2026
This is a supporting method for the wcwidth library documentation in PR jquast/wcwidth#172

I don't want the "wcwidth" library to be bogged down with terminal support, but I need a place to
document, "this is how you can detect ambiguous wide support", for forthcoming ambiguous_wide=2
argument, in popular use by CJK folk.
@jquast jquast marked this pull request as ready for review January 19, 2026 17:15
@jquast jquast merged commit 6070278 into master Jan 19, 2026
36 checks passed
@jquast jquast deleted the jq/ambiguous-width branch January 19, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants