todotxt / todo.txt-cli

☑️ A simple and extensible shell script for managing your todo.txt file.
http://todotxt.org
GNU General Public License v3.0
5.56k stars 713 forks source link

make text input more user-friendly #208

Closed Blizarre closed 6 years ago

Blizarre commented 7 years ago

The use of the default read command will not allow the user to use arrow keys and shorcuts to enter the data when doing a replace or entering any input, which can be frustrating. Besides, backslashed are interpreted and can be mangled.

http://wiki.bash-hackers.org/commands/builtin/read#read_without_-r

$ read -r TESTR
Hello \'World\'
$ read TEST
Hello \'World\'
$ echo $TEST
Hello 'World'
$ echo $TESTR
Hello \'World\'

The user group seems to have been removed, so I created this PR directly.

inkarkat commented 7 years ago

A small detail, yet a valuable contribution. Thank you!

Please note that Gina is the only person who can accept this, and she's been notably absent in the past months / years. So don't be disappointed. People will still see this and may pull it into their respective forks.

karbassi commented 7 years ago

@Blizarre and @inkarkat, you can submit the PR at todotxt/todo.txt-cli if you'd like.

Blizarre commented 7 years ago

Many thanks for the replies, I noticed the project was not very active at the moment, but I had no idea this fork was almost abandoned. I will post the PR to todotxt, thanks @karbassi!

karbassi commented 7 years ago

@Blizarre I believe Gina has made an amazing tool for her todo.txt model but has moved on to bigger and better things.

I'll dedicate some time to bringing the community version (@todotxt/todo.txt-cli) up to speed with changes.

awitherow commented 7 years ago

@karbassi thanks for stepping up! I love this tool and I look forward to its evolution!