Skip to content
New issue

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

Suppress confirmation for delete and undo #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nfraprado
Copy link
Contributor

Since the delete and undo taskwarrior commands require confirmation by default and these commands are open through a (unidirectional) pipe stream in the background, when executing the undo or delete commands tasknc simply freezes, since the confirmation never happens.
This patch makes so that these commands don't require confirmation.

If there already is a convenient way to open a background process, write its output to the screen (to the pager for example), and then wait for input from the user to then pass it back to the background process, that would probably be better than simply suppressing the confirmation for these two commands. Otherwise, making these functions work without confirmation is at least better than letting the program freeze.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant