Comment by mitjafelicijan
11 hours ago
I do agree with some of your sentiment. But by that logic, nothing would ever be made.
The same goes with aliases. Why not just use the actual commands. You give it your best shot, and sometimes something good comes out. And sometimes it's crap. That's life.
And I made it for fun and to learn something. And it wasn't AI coded. It's like 200 lines. I wanted to learn termbox2.h a bit more than I already had.
Yea I was pleasantly surprised by how simple the code is when I read it. Honestly a great example of what termbox2 is capable of. Very nice!
And now I know about termbox2, which looks very cool. Looking through the example projects[1] in the README I also found ictree[2], which does exactly what I was looking for yesterday (turning the output of `find` into an ncdu-like/interactive tree interface). I didn't manage to find something for that through googling around or asking LLMs, but thanks to you posting this here I did, so thanks!
[1] https://github.com/termbox/termbox2#examples
[2] https://github.com/NikitaIvanovV/ictree
This whole tool is much more a display of what termbox2 can do in couple of lines tbh :) You are so right about that.
It's an amazing library. And all that juice in one stb-style header file. You just gotta love it.
And if you are interested in such small libraries, I have a Github list with a bunch of them that I found.
https://github.com/stars/mitjafelicijan/lists/stb-style-mini...