18 ms·
Looking at https://github.com/NerdyPepper/dijo/blob/8b91a7c0b3d9bd4fac3b140f5bc8a40ac324289a/Cargo.toml https://github.com/NerdyPepper/dijo/blob/8b91a7c0b3d9bd4
by jnetterf 6y ago
Looking at https://github.com/NerdyPepper/dijo/blob/8b91a7c0b3d9bd4fac3b140f5bc8a40ac324289a/Cargo.toml https://github.com/NerdyPepper/dijo/blob/8b91a7c0b3d9bd4fac3..., it seems like it uses https://crates.io/crates/cursive https://crates.io/crates/cursive
- stingraycharles 6y agoIn other words, the author did a lot of hard work to shape a fairly general purpose UI library into a very neat design. Kudos!
- felixr 6y agoThere 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 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
- amelius 6y agoSo to make it look like in the demo, you have to tweak the settings of your terminal? Perhaps terminals should have cascading style sheets ...
- techdragon 6y agoI 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.
- quodlibetor 6y agoIf 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/8b91a7c0b3d9bd4fac3b140f5bc8a40ac324289a/src/theme.rs 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.
- StavrosK 6y agoThis 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.
- mraza007 6y agoIt looks amazing do we have something similar in python
- setr 6y agoIn pythonland, you get a whole slew of TUI widget libraries Eg blessed https://github.com/jquast/blessed https://github.com/jquast/blessed