Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

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)