Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shtrophic/todo.c
Todo-TUI in C!
https://github.com/shtrophic/todo.c
c curses ncurses todo
Last synced: 18 days ago
JSON representation
Todo-TUI in C!
- Host: GitHub
- URL: https://github.com/shtrophic/todo.c
- Owner: shtrophic
- License: mit
- Created: 2022-03-20T21:28:59.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-29T11:12:13.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T09:23:32.347Z (24 days ago)
- Topics: c, curses, ncurses, todo
- Language: C
- Homepage:
- Size: 159 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Todo.c
Todo-applet inspired by tsoding's todo-rs
`but in C!`
## build
### Linux:
```console
$ make release
```
### Windows (Even more experimental ??? ):
Assuming `mingw` is installed.
```
$ make windows
```
All dependencies are included. Notice that for windows, `todo.exe` depends on `pdcurses.dll`.## usage
```console
$ ./todo
```
Opens up `todofile` and reads its contents. If it does not exist, it is created after exiting. If no file is specified, it defaults to `./todofile`.| key | description |
| --- | --- |
| j | move downwards |
| k | move upwards |
| Enter | toggle done-status |
| a | add item |
| d | remove selected item |
| i | enter insert mode, exit with Enter |
| q | quit |## thankfully depends on these public-domain libs:
- [pdcurses](https://github.com/wmcbrine/PDCurses)
- [DG_dynarr.h](https://github.com/DanielGibson/Snippets)