Commit Graph

15 Commits

Author SHA1 Message Date
Kevin MacMartin 9eb26d3656 Move tput initialization so the list of notes doesn't get cleared before the text entry in at least urxvt and alacritty 2024-03-21 18:01:53 -04:00
Kevin MacMartin eb0f76f6b6 Remove unused variable from the help function 2023-08-29 16:10:36 -04:00
Kevin MacMartin 55c212dc56 If the screen_width isn't detected, set the maximum number of columns to 1 2023-08-24 17:28:12 -04:00
Kevin MacMartin 29b50cc2b9 Declare variables more appropriately 2023-08-24 17:26:41 -04:00
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