Skip to content

v0.3.2

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Aug 22:43
3e436fa

Bug Fixes

  • Wide characters occupied one cell — CJK, fullwidth forms and emoji painted two columns while the grid gave them one, so every occurrence pushed the rest of the row right and cursor-addressed redraws landed a column early. CellData gains width, the core advances by it, and the DOM renderer skips continuation cells (#102, #54, #71, #101)
  • Blank scrollback in @wterm/ghosttyget_scrollback_line was an unimplemented stub returning 0, so every scrolled-back row rendered empty even though the row count was correct (#98)
  • Style leaking across screensget_viewport read RenderState.Cell.style without checking style_id, resurfacing the style of whatever occupied the cell in an earlier render pass, including one against the alternate screen (#96)
  • GhosttyCore.load() under bundlers that inline modules — Bun's dev server resolves import.meta.url to a path on the build machine, so a file: URL reached the browser and fetch reported only Failed to fetch. The loader now names the cause and points at wasmPath, and reports a non-OK response or a non-WASM body instead of failing inside WebAssembly.instantiate (#99)
  • scrollbackLimit documented as lines — ghostty reads it as a byte budget, so an 80-column terminal retains about 1150 rows at the 10000 default, not 10000 (#98)
  • Cell width guessed by Unicode block — hand-written ranges called 1209 assigned characters wide that Unicode calls narrow, including enclosed alphanumerics, domino tiles and several arrow blocks. The table is generated from East Asian Width data now (#102)
  • Wide pairs split at a narrower width — a row dropped into scrollback during a resize kept a wide cell whose continuation was left behind, and a scrollback row read into a narrower grid spilled a column past its end (#102)

Improvements

  • @wterm/ghostty/ghostty-vt.wasm subpath export — the binary is now addressable through the package, so apps on bundlers that cannot resolve the default can serve it themselves (#99)
  • Container WASM buildrebuild-wasm:docker runs the existing build script in Linux, for hosts where Zig 0.15.x cannot link a native build runner. Output is byte-identical to a host build (#98)

Contributors