Here, have a terminal
CobraPy is in large part about reinventing wheels. We do, after all, have perfectly fine 80s-style development environments in the millions of 80s computers floating around, as well as emulators, things like the Maximite and so on.
However, I only want to reinvent fun wheels, so I am not doing a text editor. And probably gonna hack a terminal-based REPL. And there's no way I am doing my own wifi config tool (again) so, I should have a regular, ordinary terminal.
But the things I want that terminal to do are ... unusual, like raster graphics, and sprites. So ... why not do my own terminal for this?
It's not the first terminal I write! I wrote a dumb terminal emulator around 1998 and I wrote a very basic one using python, pygame and pyte a few months ago. It's on video!
But this time I wanted a better one, since I want this to look good. So I went and wrote one.
It uses many 3rd party things, because life is short.
- Pyte for all the nitty gritty of terminal emulation
- raylib for all the graphics
- monoid is the font
- This page helped me with things like "what was the escape code for left????"
And it looks this nice:
Yes, NICE, Stuart.
stop before I claw my own eyes out
— Stuart Langridge (@sil) October 8, 2020