News for hackers. Stuff that matters.
Re:Show HN: Desed – Debugger for Sed by dmix on Tuesday April 21, 2020 @05:58PM (#22939784)
I like the tui UI, what was it like mapping it layout in the terminal? I've always wanted to try building a CLI interface like that.
Re:Show HN: Desed – Debugger for Sed by billjings on Tuesday April 21, 2020 @10:12PM (#22941328)
A friend of mine built this, and I feel the need to promote it: https://github.com/dankamongmen/notcurses

There are Rust and C++ bindings, and it performs some truly ridiculous TUI tricks.

Re:Show HN: Desed – Debugger for Sed by soptikha2 on Tuesday April 21, 2020 @08:46PM (#22940896)
Surprisingly easy! I was scared of building TUI like this because it seemed so complex, but it's actually not that hard. Or at least, with tui-rs[1], which is surprisingly easy to pick up. Once you read two or three examples, you'll gain pretty good overview of how to build applications with it. I can definitely recommend it, it does all the heavy lifting and leaves surprisingly little for you to care about. Just don't forget to unset terminal raw mode before your application exits, or else you'll start breaking people's terminals :-)

[1]: https://github.com/fdehau/tui-rs