3 ms·
I have recently developed my own terminal-based UI for todo/task tracking [1] in markdown files because I was sick of rearranging todos in other tools. The mai
by oezi 5y ago
I have recently developed my own terminal-based UI for todo/task tracking [1] in markdown files because I was sick of rearranging todos in other tools.
The main advantage is that you can "migrate" all unfinished todos to a new page/day and thus get a clean start each day. This idea comes from bullet journalling.
To get it done I had to dig a bit into ncurses, which turned out more interesting than I thought. For instance, Windows Terminal just gained support for bracketed paste a couple of months ago and my tool supports it.
[1] https://github.com/coezbek/rodo https://github.com/coezbek/rodo
Stack: Ruby, Curses, Markdown
- _benj 5y agoI'm also learning curses but went the LuaJIT ffi way and it's been a blast! LuaJIT ffi allows me to load the ncurses shared library and use straight C to call whatever ncurses functions I want, or write light lua wrappers. I've been breaking my head thought over separation of concerns, coded myself in a corner a few times already but mixing the UI with the data...