aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/term/mod.rs
diff options
context:
space:
mode:
authorDaftMouse <daftmouse@protonmail.com>2022-01-15 00:35:05 -0300
committerGitHub <noreply@github.com>2022-01-15 03:35:05 +0000
commit60ef17e8e98b0ed219a145881d10ecd6b9f26e85 (patch)
tree3e257a8ad78e9b8eb0a4c54fd909fe1bc7d31b4e /alacritty_terminal/src/term/mod.rs
parente38f51c6bd73999e4e36110ca21cdb473de00bd5 (diff)
downloadalacritty-60ef17e8e98b0ed219a145881d10ecd6b9f26e85.tar.gz
alacritty-60ef17e8e98b0ed219a145881d10ecd6b9f26e85.zip
Add ´?´ support to OSC 4
Diffstat (limited to 'alacritty_terminal/src/term/mod.rs')
-rw-r--r--alacritty_terminal/src/term/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs
index ce939401..2f0989ef 100644
--- a/alacritty_terminal/src/term/mod.rs
+++ b/alacritty_terminal/src/term/mod.rs
@@ -818,6 +818,10 @@ impl<T> Term<T> {
cursor_cell.bg = bg;
cursor_cell.flags = flags;
}
+
+ pub fn colors(&self) -> &Colors {
+ &self.colors
+ }
}
impl<T> Dimensions for Term<T> {