kdheepak / taskwarrior-tui

`taskwarrior-tui`: A terminal user interface for taskwarrior
https://kdheepak.com/taskwarrior-tui
MIT License
1.47k stars 68 forks source link

context is not working if its name has symbols #530

Open Foo-x opened 9 months ago

Foo-x commented 9 months ago

Describe the bug

Context is not working if its name has symbols like - or + or ~ etc. Only worked is _.

To Reproduce

Steps to reproduce the behavior:

  1. Define a context which has -.
  2. Run taskwarrior-tui
  3. Switch to the context defined above with the context switcher.

image image

Environment (please complete the following information):

taskwarrior-tui --version
task --version

Additional context and information

kdheepak commented 9 months ago

I think that's not possible, right? Because taskwarrior uses + and - for adding and removing tags.

Foo-x commented 9 months ago

Taskwarrior can use symbols.

image

Even on first character.

image

kdheepak commented 9 months ago

I see, thanks for sharing! I'll have to look into this and see what's going on here.

Foo-x commented 9 months ago

Thank you!