mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
4dff6f8eef
## Summary A follow-up to #57483. `terminal.rs` still reads a few things straight from alacritty's `Term`: cursor blinking, colors the program set, history size, the cursor line and the renderable cells. It also runs vte's `Processor` itself. These now go through small functions in `alacritty.rs`, so `terminal.rs` reaches the emulator only through that module. Behaviour doesn't change. This makes the emulator replaceable behind one module. Motivation: #66743. ## Testing - `cargo test -p terminal -p terminal_view`: 118 and 99 tests pass. - `./script/clippy -p terminal` is clean. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). (No UI changes.) - [x] Tests cover the new or changed behavior. (No behaviour change; existing tests cover these paths.) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Release Notes: - N/A Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>