Hasty Briefsbeta

Bilingual

Wterm – Terminal Emulator for the Web

9 hours ago
  • #web-assembly
  • #terminal-emulator
  • #zig
  • wterm is a terminal emulator for the web that renders to the DOM, offering native text selection, copy/paste, find, and accessibility features.
  • Its core is written in Zig and compiled to WASM, providing near-native performance with a VT100/VT220/xterm escape sequence parser in a ~12 KB .wasm binary.
  • Features include DOM rendering, dirty-row tracking for efficient updates via requestAnimationFrame, themes with CSS custom properties, alternate screen buffer support for tools like vim and htop, configurable scrollback history, 24-bit color support, auto-resize via ResizeObserver, and WebSocket transport for PTY backend connections with reconnection.