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

add and remove functionality for enzo todos #10

Open
1ntEgr8 opened this issue Jun 8, 2020 · 1 comment
Open

add and remove functionality for enzo todos #10

1ntEgr8 opened this issue Jun 8, 2020 · 1 comment

Comments

@1ntEgr8
Copy link
Collaborator

1ntEgr8 commented Jun 8, 2020

As of now, the only way to add or remove a todo is to edit $HOME/.enzo.config.yaml. This can be intimidating, and is error-prone.

Implement add and remove functionality from within enzo todo so that adding and removing tasks is super simple.

@1ntEgr8
Copy link
Collaborator Author

1ntEgr8 commented Jun 8, 2020

initial thoughts on implementing this:

  • the user will enter their response in a popup
  • cursor moves to the input location
  • turn off raw mode, display the cursor
  • read from stdin
  • add a new todo to app state
  • turn on raw mode, hide cursor, remove popup

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

No branches or pull requests

1 participant