Live data from Hacker News

Textual Paint – MS Paint in your terminal

github.com

21–30 of 35 posts

Re: Textual Paint – MS Paint in your terminal

#22
post #16

I would love to see something like Monodraw, that could generate centered text boxes and simple diagrams for use in READMEs. Monodraw is great, but I don’t think it’s in development anymore.

Oh man, I've long had the idea for a plain text diagram creator, great to see that someone has gone there before.

I started a library for this a while ago (using rich):

https://github.com/mahrz24/netext

Recently I tried to adopt it to textual as well: https://twitter.com/mahrz24/status/1679816272509386753?s=46&...

Re: Textual Paint – MS Paint in your terminal

#23

This is by the same person who made jspaint. https://github.com/1j01/jspaint Some of the other projects by the author are also very interesting https://github.com/1j01?tab=repositories&q=&type=&language=&... There is this pipes screen saver for example https://1j01.github.io/pipes/ EDIT: Website of the author listing some of these projects https://isaiahodhner.io/apps

I already knew about https://yourworldoftext.com

Going through his projects (https://github.com/1j01/diverge) I have discovered https://ourworldoftext.com/ which offers more features like public and private areas on the canvas and a lot more.

In there I discovered https://ourworldofpixels.com/ which is the same except it gives you a virtually infinite public canvas of pixels. There is a lot activity on it.

There are some incredible worlds on it

https://ourworldofpixels.com/countrysim

https://ourworldofpixels.com/planetsim

https://ourworldofpixels.com/jpdld

Re: Textual Paint – MS Paint in your terminal

#24
post #8

I expect, at the minimum: - a rust port - an emacs port :-)

How about bash? :p

r() { read -n1 -r c; [ "$c" = "$1" ]; }; b=2; stty -echo -icanon; printf '\033[H\033[0m\033[J\033[?1003h'; while true; do r $'\033' || { printf '%s\n' "$c" | grep -qE '[0-7]' && b=$c; continue; }; r \[ || continue; r "M" || continue; r "@" && d=y || d=; read z x y z (you can change colour with digits 1..7 btw!)

Re: Textual Paint – MS Paint in your terminal

#26
post #4

My first thought with Textual and most TUIs is always, "but why?" But then I actually look at what they are building, and I realize, "Oh, because it's really cool!"

My thought was exactly same, “but why?”. It is indeed very cool. But ‘cool’ not enough to drive such an effort for me i guess. I realize the importance, as it can be used over SSH too. A TUI can be very helpful for graphic less servers, say.

Re: Textual Paint – MS Paint in your terminal

#27
post #26
post #4

My first thought with Textual and most TUIs is always, "but why?" But then I actually look at what they are building, and I realize, "Oh, because it's really cool!"

My thought was exactly same, “but why?”. It is indeed very cool. But ‘cool’ not enough to drive such an effort for me i guess. I realize the importance, as it can be used over SSH too. A TUI can be very helpful for graphic less servers, say.

Absolutely, I can't wait to get my MS Paint on over ssh. But more seriously, you're absolutely right. There is clearly a large degree of utility in utilizing the terminal as a visual interface/platform. A project such as Textual, which makes development for that platform simpler, is something I can stand behind.

Re: Textual Paint – MS Paint in your terminal

#30

Earlier quoted context omitted.

Very early in my career I wrote a ton of code in Clipper (a dBase clone and compiler). In some ways I kinda miss doing @SAY, @GET, the TBrowse class etc and their TUI.

I spent most of the 90s writing Clipper code, used to hang out in comp.lang.clipper lots too. Do still sort of miss it. https://harbour.github.io/ does exist, although it’s a long while since I last played with that.

Clipper, BLINKER and the Brief editor FTW!
Post reply on HN