Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sir-photch/todo.c
Todo-TUI in C!
https://github.com/sir-photch/todo.c
c curses ncurses todo
Last synced: about 1 month ago
JSON representation
Todo-TUI in C!
- Host: GitHub
- URL: https://github.com/sir-photch/todo.c
- Owner: Sir-Photch
- 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: 2023-03-02T16:31:31.503Z (almost 2 years ago)
- Topics: c, curses, ncurses, todo
- Language: C
- Homepage:
- Size: 159 KB
- Stars: 0
- Watchers: 1
- 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)