Skip to content

vt/terminal: add the memory usage query - #10

Merged
trancong12102 merged 1 commit into
masterfrom
memory-usage
Oct 1, 2026
Merged

trancong12102 merged 1 commit into
masterfrom
memory-usage

Conversation

@trancong12102

Copy link
Copy Markdown

Binds GHOSTTY_TERMINAL_DATA_MEMORY_USAGE (ghostty #14499) as Terminal::memory_usage: per-screen pages, resident and reserved bytes, compressed pages and bytes, image bytes, and whether compression can free memory. Test: memory_usage_grows_with_scrollback_and_compression_lowers_it.

Co-Authored-By: Claude Code

Terminal::memory_usage reads GHOSTTY_TERMINAL_DATA_MEMORY_USAGE: each
screen's pages, their resident and reserved bytes, what compression holds
and the images, and whether compression can free memory here.

Co-Authored-By: Claude Code
@trancong12102
trancong12102 merged commit 8c73b8a into master Oct 1, 2026
2 of 6 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.

1 participant