aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement a yes-or-no functionverdant2026-08-051-0/+2
| | | | If y is pressed, return true, or return false
* Print prompt at the beginning of function and use len instead of builtin ↵verdant2026-08-051-1/+1
| | | | variable
* Add utils.h utils.c to provide get_input()verdant2026-08-031-0/+9
Print the prompt at the status bar, handle character, backspace, enter and escape. Modify the variable buf in place.