Commit graph

11 commits

Author SHA1 Message Date
Kevin MacMartin
940cb59e00 Declare variables used locally in functions as local (and don't worry about unsetting them) 2023-08-23 23:52:15 -04:00
Kevin MacMartin
0930e740f4 Add "dd" and "od" to the dependencies array 2023-08-23 23:51:31 -04:00
Kevin MacMartin
15e75accb4 Add a missing dependency on coreutils to the readme (dd and od are required) 2023-08-23 23:50:42 -04:00
Kevin MacMartin
bc28cfdf8f Improve the tty state restoration logic:
* Restore the tty state with a reusable function
* Add tty_state as a global
* Declare globals (including tty_state) as empty variables
2023-08-23 23:30:45 -04:00
Kevin MacMartin
4057ab8d0e Use more consistent error messages, and fix the error message for the delete operation when no name has been provided 2023-08-23 22:08:01 -04:00
Kevin MacMartin
bd83c4081d Minor improvements and cleanup:
* Declare global variables globally
* Group functions related to note searching together
* Add colour to the "Can't find" error
* Add more comments to explain what different blocks of code are doing
2023-08-23 21:56:41 -04:00
Kevin MacMartin
c0ca91d47f Add another decimal to the version so we're using semver 2023-08-23 21:43:04 -04:00
Kevin MacMartin
f06d4a5cb0 Use more consistent formatting in arithmetic expressions to make it more clear where they start and end 2023-08-23 21:36:08 -04:00
Kevin MacMartin
8673d1509d Include MIT license 2023-08-23 18:26:05 -04:00
Kevin MacMartin
8c41b066f0 Add "vnotes" to the usage patterns 2023-08-23 18:22:49 -04:00
Kevin MacMartin
c8746d8405 Initial commit 2023-08-23 18:22:04 -04:00