News for hackers. Stuff that matters.
Re:Dijo: A terminal-based habit tracker written in Rust by mraza007 on Monday July 20, 2020 @03:41PM (#23901160)
I love the terminal UI how did you create that
Re:Dijo: A terminal-based habit tracker written in Rust by jnetterf on Monday July 20, 2020 @04:16PM (#23901436)
Re:Dijo: A terminal-based habit tracker written in Rust by stingraycharles on Monday July 20, 2020 @04:21PM (#23901489)
In other words, the author did a lot of hard work to shape a fairly general purpose UI library into a very neat design. Kudos!
Re:Dijo: A terminal-based habit tracker written in Rust by felixr on Monday July 20, 2020 @04:49PM (#23901750)
There is also the font selection and the borderless terminal which improve the aesthetics Without that it could look like this https://i.imgur.com/TVwkQI0.png

But I agree, the author did really good job in creating a clean an visually pleasing UI only using text and standard symbols

Re:Dijo: A terminal-based habit tracker written in Rust by amelius on Monday July 20, 2020 @07:04PM (#23902806)
So to make it look like in the demo, you have to tweak the settings of your terminal?

Perhaps terminals should have cascading style sheets ...

Re:Dijo: A terminal-based habit tracker written in Rust by techdragon on Monday July 20, 2020 @07:41PM (#23903033)
I always find myself wanting just a little more terminal text style control. Usually I’m left wishing I had either an alternative font mode or double sized text. (Double specifically to avoid breaking the X*Y text cell grid)

But little wishes for extra expressiveness aside, i really don’t think terminal UIs would benefit from anything like CSS. The terminal functions as my working environment. I rely on being able to visually pattern scan for errors, warnings, typical command output, time stamp and log alignment etc. I do not want anything messing with how I set all this up.

Re:Dijo: A terminal-based habit tracker written in Rust by quodlibetor on Monday July 20, 2020 @05:32PM (#23902144)
If this is all this is it actually doesn't look like a crazy amount of work to make cursive look good: https://github.com/NerdyPepper/dijo/blob/8b91a7c0b3d9bd4fac3...

I've avoided looking too deeply into cursive in the past because I naively assumed it would be difficult to make it look like like anything other than a late-90s BIOS, but this is exciting.

Re:Dijo: A terminal-based habit tracker written in Rust by StavrosK on Monday July 20, 2020 @05:50PM (#23902279)
This looks like a "draw the rest of the fucking owl" thing. Yes, it's not a lot of manual work, but I wouldn't be able to do it at all because I don't have a sense for design.
Re:Dijo: A terminal-based habit tracker written in Rust by mraza007 on Monday July 20, 2020 @04:48PM (#23901741)
It looks amazing do we have something similar in python
Re:Dijo: A terminal-based habit tracker written in Rust by setr on Monday July 20, 2020 @04:54PM (#23901796)
In pythonland, you get a whole slew of TUI widget libraries

Eg blessed https://github.com/jquast/blessed

Re:Dijo: A terminal-based habit tracker written in Rust by d2161 on Monday July 20, 2020 @03:43PM (#23901180)
This^! It looks amazing.
Re:Dijo: A terminal-based habit tracker written in Rust by xwdv on Monday July 20, 2020 @04:07PM (#23901360)
curses