1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-11-06 22:44:18 -05:00

Move renderable cell transformation to alacritty

This refactors a large chunk of the alacritty_terminal API to expose all
data necessary for rendering uniformly through the `renderable_content`
call. This also no longer transforms the cells for rendering by a GUI
but instead just reports the content from a terminal emulation
perspective. The transformation into renderable cells is now done inside
the alacritty crate.

Since the terminal itself only ever needs to know about modified color
RGB values, the configuration for colors was moved to the alacritty UI
code.
This commit is contained in:
Christian Duerr 2021-01-24 21:45:36 +00:00 committed by GitHub
parent 7291702f6b
commit 530de00049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 1447 additions and 1561 deletions

View file

@ -84,7 +84,9 @@ struct RefConfig {
history_size: u32,
}
#[derive(Copy, Clone)]
struct Mock;
impl EventListener for Mock {
fn send_event(&self, _event: Event) {}
}