Live data from Hacker News

Spectre.Console lets you make beautiful console apps with .NET Core

hanselman.com

31–35 of 35 posts

Re: Spectre.Console lets you make beautiful console apps with .NET Core

#31

It doesn't mention which platforms are supported, but from a quick search of the repo, it seems to support both Windows and Unix consoles. Nice.

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.

Excellent. I suggest making this clear, initially I assumed it was for Windows only.

Re: Spectre.Console lets you make beautiful console apps with .NET Core

#32

I'm seeing more and more dancing around what I think is a desire to have a computing system much closer to the UI of emacs/lisp machine. It seems the desire is to use the power of natural language to interact with the machine with commands but to not be limited by textual output. Emacs can render pictures and PDFs but it can't render HTML well or videos at all. Another UI that comes real close to what I think a lot o…

I would love a standardized way to render a simple pixel framebuffer in terminal windows that's fast enough to update at display refresh rate. The current solutions I tried (like Sixels, or iTerm2's imgcat) are good for rendering static images, but not for realtime updates. This would allow me integrate actual graphics into my "C64 emulator for docker" instead of just a subset of the PETSCI character set :) https://g…

This is crazy. I've been mulling these UI ideas around in my head for years and I've always had this vision in my mind of something very close to the C64.

Re: Spectre.Console lets you make beautiful console apps with .NET Core

#33

Earlier quoted context omitted.

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.

Excellent. I suggest making this clear, initially I assumed it was for Windows only.

Excellent suggestion!

Re: Spectre.Console lets you make beautiful console apps with .NET Core

#34

Earlier quoted context omitted.

I agree. I'm actually working on a couple of projects around non-technical textual interfaces, trying to make "code" applicable to more than just "building software".

I've actually been thinking about this type of interface for years and have never really got the opportunity to implement my ideas. Are you familiar with the Raskins' work? https://en.wikipedia.org/wiki/Canon_Cat https://humane.computer/in-conversation-with-aza-raskin/ https://www.youtube.com/watch?v=EuELwq2ThJE

I'm not familiar but I'll check it out, thanks!

Re: Spectre.Console lets you make beautiful console apps with .NET Core

#35

Earlier quoted context omitted.

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

Thank you. I don't even care much about the language. I can code C#, Python, many others and don't mind to learn some new. What I need is a library to give me high-level TUI widgets (kind of like VisualBasic for DOS, not necessarily WYSIWG - code-first is OK) which would look good. The one you have linked seems the best I have seen (among all the languages) so far but Spectre.Console looks (literally, I mean the aest…

Check out https://github.com/rivo/tview (golang), https://github.com/prompt-toolkit/python-prompt-toolkit (python) and https://github.com/fdehau/tui-rs (rust).

Personally I went with prompt toolkit for a work project I had to do in python and it is great!

Post reply on HN