Post

Experimenting with the idea of #hex1b having its own web-based terminal renderer that uses WebGPU. All of the terminal state stays server side with the Hex1bTerminal instance, but state updates are transmitted over the wire via a websocket to some JS code that renders onto canvas.

The #hex1b terminal stack includes its own terminal emulator which maintains what it things the terminal state is even if you are connected to a real emulator - so conceptually this is just projecting that terminal state onto a web canvas. At this point there are lots of question marks around perf.

Just tested out my Sixel Cloud demo in the web terminal and it seems to work OK. Fair amount of data flowing across the pipe though but TBH xterm.js doesn't handle it at all (although I'm not saying this terminal is better than xterm.js at all).

0 reposts0 likes

No replies yet.