~minos-archive/minos/todo.txt-cli

Viewing all changes in revision 226.

  • Committer: Ali Karbassi
  • Author(s): Simon M
  • Date: 2017-10-13 21:32:13 UTC
  • Revision ID: git-v1:b7fb2ac2be7132e18871e73276d2765309732b34
fix: Make text input more user-friendly  (#208)

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

- Using the `-e` option will trigger the use of the readline library: you can then, as expected in bash, use the arrow keys and all shortcuts to move around the line before pressing enter.
- Using the `-r` option will prevent the interpretation of the "" and insert them as typed, useful when pasting code:

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: