1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 13:16:39 +03:00

expose pen attribute on terminal info

This commit is contained in:
Sean Sullivan 2023-09-22 09:52:21 -07:00 committed by Wez Furlong
parent 821f9f98a7
commit 5161de59fe

View File

@ -929,6 +929,11 @@ impl TerminalState {
}
}
/// Returns the current cell attributes of the screen
pub fn pen(&self) -> CellAttributes {
self.pen.clone()
}
pub fn user_vars(&self) -> &HashMap<String, String> {
&self.user_vars
}