3 ms·
I was hoping this would provide framebuffer-like functionality in the terminal window instead of "just" a way to apply image posteffects. A proper pixel frameb
by flohofwoe 6y ago
I was hoping this would provide framebuffer-like functionality in the terminal window instead of "just" a way to apply image posteffects.
A proper pixel framebuffer terminal standard fast enough to be updated at refresh rate would allow a lot of interesting terminal applications which would live somewhere between Curses UIs and "proper" UI applications which require a whole window system!
Current "render pixels to the terminal" standards like iTerm2's ability to display images, or the "Sixels" standard are unfortunately too slow to render colored images at display refresh rate (Sixels is just barely fast enough to render two colors).
I've been playing around with running home computer emulators in terminal windows (for instance here's a "C64 in Docker" limited to rendering characters: https://github.com/floooh/docker-c64 https://github.com/floooh/docker-c64), imagine if this could run with actual pixel graphics in terminal windows :)
PS: here's an abondend attempt to render the C64 framebuffer via Sixels (too slow unfortunately to be practical): https://github.com/floooh/chips-test/blob/master/examples/ascii/c64-sixel.c https://github.com/floooh/chips-test/blob/master/examples/as...