lharding / tasknc

ncurses wrapper around taskwarrior
MIT License
117 stars 18 forks source link

Fix add task to get the right task id #48

Closed nfraprado closed 5 years ago

nfraprado commented 5 years ago

Adding a task would create a new empty task which was then edited with an external editor by getting the task id replied by taskwarrior. Since the maximum length of the string to be read was wrong, ids with more than one digit would cause the task with id of only the first digit to be edited instead. This commit fixes it. Should fix #41 .

lharding commented 5 years ago

Thanks!