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:
parent
7291702f6b
commit
530de00049
35 changed files with 1447 additions and 1561 deletions
|
|
@ -84,7 +84,9 @@ struct RefConfig {
|
|||
history_size: u32,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
struct Mock;
|
||||
|
||||
impl EventListener for Mock {
|
||||
fn send_event(&self, _event: Event) {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue