darrikonn / td-cli

A todo command line todo manager ✔️
https://pypi.org/project/td-cli/
MIT License
193 stars 10 forks source link

Unicode support #24

Closed p3k closed 3 years ago

p3k commented 3 years ago

Installed td-cli in virtual env with pip3 install td-cli:

# pip3 list
Package    Version
---------- -------
pip        21.0.1
setuptools 56.0.0
td-cli     2.0.1
wheel      0.36.2

Not able to enter e.g. German umlaut (e.g. ä as in my name, Tobi Schäfer):

image

Not to mention emoji et al.

darrikonn commented 3 years ago

Hmm, what's the font you're using in your terminal? And is this only happening in the interactive mode, or does it also happen when you list your todos?

p3k commented 3 years ago

the font is ubuntu mono regular.

it does not happen when i enter a todo with such “special” chars non-interactively:

image

(good to know there is a work-around.)

it’s also correctly displayed in interactive mode, then. but entering the same char interactively creates output as described before.

darrikonn commented 3 years ago

Ahh happens as well for me when adding a new todo interactively. Will make a fix! Thanks for the issue ;)

darrikonn commented 3 years ago

Fixed here: https://github.com/darrikonn/td-cli/pull/26

And available in td-cli 2.0.2

p3k commented 3 years ago

it works now, thanks, i can enter the precious characters. however, td-cli crashes now when i press the delete (or an arrow) key while editing a todo… should i open a new issue?

darrikonn commented 3 years ago

I just reopened this one. I'll take a look tomorrow :).

darrikonn commented 3 years ago

Should be fixed in td-cli 2.0.3. Thanks for testing it out and notifying the bugs!

p3k commented 3 years ago

awesome, works perfectly now. thanks again.