mirror of
https://github.com/wez/wezterm.git
synced 2024-11-25 21:07:39 +03:00
expose pen attribute on terminal info
This commit is contained in:
parent
821f9f98a7
commit
5161de59fe
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user