expose pen attribute on terminal info

This commit is contained in:
Sean Sullivan authored and Wez Furlong committed 2023-09-22 12:21:15 -07:00
1 parent 821f9f98a7
commit 5161de59fe
1 file changed
+5
+5
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
}