aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/main.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-01-24 21:45:36 +0000
committerGitHub <noreply@github.com>2021-01-24 21:45:36 +0000
commit530de00049c2afcc562d36ccdb3e6afa2fe396a5 (patch)
tree3dabbcef3fc4a2041f9027d82243aa0d70928153 /alacritty/src/main.rs
parent7291702f6b4fff10f2470f084abe0785b95659a0 (diff)
downloadr-alacritty-530de00049c2afcc562d36ccdb3e6afa2fe396a5.tar.gz
r-alacritty-530de00049c2afcc562d36ccdb3e6afa2fe396a5.tar.bz2
r-alacritty-530de00049c2afcc562d36ccdb3e6afa2fe396a5.zip
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.
Diffstat (limited to 'alacritty/src/main.rs')
-rw-r--r--alacritty/src/main.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/alacritty/src/main.rs b/alacritty/src/main.rs
index 1bcf64b9..30eff73d 100644
--- a/alacritty/src/main.rs
+++ b/alacritty/src/main.rs
@@ -32,7 +32,6 @@ use alacritty_terminal::tty;
mod cli;
mod clipboard;
mod config;
-mod cursor;
mod daemon;
mod display;
mod event;
@@ -41,16 +40,11 @@ mod logging;
#[cfg(target_os = "macos")]
mod macos;
mod message_bar;
-mod meter;
#[cfg(windows)]
mod panic;
mod renderer;
mod scheduler;
mod url;
-mod window;
-
-#[cfg(all(feature = "wayland", not(any(target_os = "macos", windows))))]
-mod wayland_theme;
mod gl {
#![allow(clippy::all)]