expose pen attribute on terminal info
This commit is contained in:
1 parent
821f9f98a7
commit
5161de59fe
1 file changed
+5
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user