Skip to content

Conversation

@kylecarbs
Copy link
Member

From Mitchell's comment on HN: https://news.ycombinator.com/item?id=46111944This should improve performance dramatically.This also adds a basic set of benchmarks which have not yet been optimized.

@kylecarbs kylecarbs self-assigned this Dec 2, 2025
@kylecarbs kylecarbs force-pushed the renderstate branch 2 times, most recently from 88a0bd6 to edc25c5 Compare December 2, 2025 06:50
From Mitchell's comment on HN: https://news.ycombinator.com/item?id=46111944This should improve performance dramatically.This also adds a basic set of benchmarks which have not yet been optimized.
@sreya sreya force-pushed the renderstate branch 3 times, most recently from 9fb7cd8 to 42cf82a Compare December 3, 2025 07:31
- Add GhosttyTerminalConfig struct and ghostty_terminal_new_with_config to WASM API
- Update GhosttyTerminal constructor to accept optional config parameter
- Update Ghostty.createTerminal() to pass config through
- Use same parseColorToHex() and buildWasmConfig() pattern as main branch
- Fix double semicolon formatting issue in terminal.ts
- Add tests for config (scrollback, theme colors, palette colors)

Restored config options:
- scrollbackLimit: Max scrollback lines (0 = unlimited)
- fgColor: Default foreground color (0xRRGGBB)
- bgColor: Default background color (0xRRGGBB)
- cursorColor: Cursor color (0xRRGGBB)
- palette: 16-color ANSI palette
@sreya sreya merged commit 90c1178 into main Dec 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants