header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Ghostty 1.4 Released: History Limit Increased Fivefold, Yet Memory Usage Is Lower

Beating AI News Flash: Terminal emulator Ghostty releases 1.4.0, developed over 7 months with nearly 2,900 code commits from 172 contributors. This release focuses on solving memory usage issues during long-term terminal use, with notable improvements in performance and graphics support.


The new version automatically compresses off-screen scrollback history when the terminal is idle, and decompresses on demand when scrolling back or searching. Plain text records can save 70% to 90% of physical memory after compression, and the default history limit has been raised from 10MB to 50MB per terminal. Even when full, it typically uses less memory than the old version. Currently supports macOS and 64-bit Linux.


Background tabs no longer continuously consume GPU resources. Official testing on macOS with 1 visible tab and 20 background tabs showed GPU memory usage dropping from approximately 385MiB to 18MiB. The terminal output reading method has also been rewritten, improving data throughput on macOS by 25% to 55%. Directly outputting a 150MB text file with `cat` now takes 566 milliseconds instead of 1.5 seconds.


Ghostty also completed support for animation and relative positioning in the Kitty graphics protocol. Previously, GIF animations displayed in the terminal would only show a static frame; now they play properly. The founder claims this is the first terminal besides Kitty to fully implement the graphics protocol.


The new version also supports macOS 27, switches Linux to EGL-based rendering, and adds `ghostty +ssh`, which can automatically install the required terminal configuration when connecting to remote servers.


This release also fixes 10 security vulnerabilities. One involves Kitty graphics commands, where an attacker only needs to trick the terminal into displaying malicious output to potentially cause program crashes, abnormal memory usage, and in specific cases even read or delete files outside the temporary directory.

举报 Correction/Report
RelatedRecommended
Citigroup and Bank of America Securities believe that while the Kimi K3 reduces inference costs, it may paradoxically stimulate more invocations, longer contexts, and agent-based tasks through the "Jevons Paradox," thereby driving up demand for GPU, HBM, DDR5, eSSD, and network infrastructure.
This article explores the challenge facing Ethereum in reducing complexity and storage requirements in the long term while maintaining chain durability and decentralization.
EIP-4844 may become the next milestone upgrade for Ethereum.
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish