Better HN
topnewbestaskshowjobs
Log inSign up

happypatrik

9 karma · joined Jul 23, 2013 (13y ago) · 13 submissions

38 year old programmer from Sweden.
Submissions

comment 6y ago · link · parent

Excellent suggestion!

comment 6y ago · link · parent

The library can also detect whether or not ANSI escape sequences are available in the terminal and fallback to something else. It can also downgrade colors depending on the color bitness support of the terminal.

comment 6y ago · link · parent

Yes, I run integration and unit tests on Windows, Linux and MacOS as part of the CI for Spectre.Console, so everything should be fully functional cross platform. The only thing required is a platform that supports C# and (optionally) a terminal that support ANSI escape sequences.

comment 6y ago · link · parent

Yes, Spectre.Console is heavily inspired by Rich, and this is stated in the first paragraph of the repository and documentation :)

comment 6y ago · link · parent

It's not a TUI library in that sense. You should check out Gui.cs if you want to build more interactive applications in C#: https://github.com/migueldeicaza/gui.cs

comment 6y ago · link · parent

I'm the author of this lib. Yes, abstracting away ANSI escape sequences is one purpose of the lib, but first and foremost the purpose is to make it easier to render complex things as tables, panels, grids etc.

comment 6y ago · link · parent

It depends since it's really up to the terminal. If the terminal don't support ANSI escape sequences, Spectre.Console will fall back to using the System.Console API with the standard 4-bit color palette. Everything will continue working, but less pretty of course.

comment 6y ago · link · parent

Sure, send a PR.

comment 6y ago · link · parent

Not hard coded for a particular DPI, it just doesn't take DPI into account since I always run with DPI settings set to 100%.

comment 6y ago · link · parent

It's not dead, but it's done in my perspective since it does what I wanted it to do when I created it.

comment 10y ago · link · parent

Must say that Chocolatey have made my life much easier and I recommend to try it out.

Not sure about all the negative comments here. It's OSS so if you have a negative experience and the time to write comments here, why not contribute back and post the same thing as an issue to get a discussion started with the team? It's actively being developed and the team behind it listens to the community.

comment 13y ago · link · parent

"Some handsets can't be fully powered down without removing the battery; for instance, some Nokia models will wake up when turned off if an alarm is set." (http://news.cnet.com/2100-1029-6140191.html) I'm guessing that there even might be models with built in battery backup for this kind of functionality.