taskwarrior-tui: description.truncated_count report column is ignored
My default report has a column with the description.truncated_count format which taskwarrior-tui does not recognize and it removes the column.
Steps to reproduce the behavior:
Modify ~/.taskrc to add description.truncated_count in your default report.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 23 (23 by maintainers)
Thanks for opening an issue! This was on my todo list for a while now. I’ve made a new release where this should be fixed! You can find the release here: https://github.com/kdheepak/taskwarrior-tui/releases/tag/v0.9.6.
Works like a charm, thank you very much for the many fixes.
I’ve made a new release here: https://github.com/kdheepak/taskwarrior-tui/releases/tag/v0.9.10.
Thanks for the detailed description, I’ll look into this.
There are still several issues which I will try to describe precisely :
thread 'main' panicked at 'assertion failed: self.is_char_boundary(idx)', /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/string.rs:1293:9000000000000000000000000000000000000000000000000000000000000000000022the description is then “truncated” to0000000000000000000000000000000000000000000000000000000000000000000...even though it makes the description one char longer. Tip: you might want to use the unicode char…which is a single char wide.I made a new release where this is fixed: https://github.com/kdheepak/taskwarrior-tui/releases/tag/v0.9.7
I can confirm it is fixed.
Thanks for the quick fix, you rock!