We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the todoist module, if there is an empty project loaded and you type c or d (clear and delete respectively) you get a crash:
c
d
panic: runtime error: index out of range goroutine 1 [running]: github.com/rivo/tview.(*Application).Run.func1(0xc0005b1000) /Users/ccummer/go/pkg/mod/github.com/rivo/[email protected]/application.go:149 +0x82 panic(0x191db00, 0x2f8fbb0) /usr/local/Cellar/go/1.12.7/libexec/src/runtime/panic.go:522 +0x1b5 github.com/wtfutil/wtf/modules/todoist.(*Project).currentTask(...) /Users/ccummer/go/src/github.com/wtfutil/wtf/modules/todoist/project.go:63 github.com/wtfutil/wtf/modules/todoist.(*Project).deleteSelectedTask(0xc00086ac80) /Users/ccummer/go/src/github.com/wtfutil/wtf/modules/todoist/project.go:79 +0x10a github.com/wtfutil/wtf/modules/todoist.(*Widget).Delete(0xc0003fe2c0) /Users/ccummer/go/src/github.com/wtfutil/wtf/modules/todoist/widget.go:118 +0x4d github.com/wtfutil/wtf/view.(*KeyboardWidget).InputCapture(0xc0003fe2c0, 0xc0006c3040, 0xc0007bdd90) /Users/ccummer/go/src/github.com/wtfutil/wtf/view/keyboard_widget.go:85 +0xf1 github.com/rivo/tview.(*Box).WrapInputHandler.func1(0xc0006c3040, 0xc0005222f0) /Users/ccummer/go/pkg/mod/github.com/rivo/[email protected]/box.go:157 +0x75 github.com/rivo/tview.(*Application).Run(0xc0005b1000, 0x0, 0x0) /Users/ccummer/go/pkg/mod/github.com/rivo/[email protected]/application.go:234 +0x396 main.main() /Users/ccummer/go/src/github.com/wtfutil/wtf/main.go:74 +0x288
The text was updated successfully, but these errors were encountered:
See also #588
Sorry, something went wrong.
Fixed by #588
Successfully merging a pull request may close this issue.
What's broken?
When using the todoist module, if there is an empty project loaded and you type
c
ord
(clear and delete respectively) you get a crash:The text was updated successfully, but these errors were encountered: