pytermgui icon indicating copy to clipboard operation
pytermgui copied to clipboard

Fixes chinse chars being wrong len

Open qoft opened this issue 2 years ago • 3 comments

Fixes #98 image

qoft avatar May 17 '23 20:05 qoft

Unfortunately this pulls in a new dependency, which I'm not super keen on. Since it's kind of impossible for me to do this manually in a completely perfect and reliable way I'm not against it, but please add it to pyproject.toml! :)

bczsalba avatar May 25 '23 12:05 bczsalba

Sorry about the delay, added wcwidth to the pyproject.toml

qoft avatar Jun 02 '23 17:06 qoft

@qoft Shouldn't the dependency go in the project dependencies list?

requires = [... , "wcwidth"]

to

[project]
...
dependencies = [... , "wcwidth"]

Tired-Fox avatar Jun 20 '23 14:06 Tired-Fox

Implemented this myself since this PR seems abandoned, thanks for the idea :)

bczsalba avatar Feb 24 '24 12:02 bczsalba