add terminal modal which can be displayed and dismissed while preserving the terminal state

This commit is contained in:
Keith Simmons
2022-07-06 13:20:54 -07:00
parent 00d1c2e56f
commit 2d126c7c5c
6 changed files with 196 additions and 68 deletions
+7
View File
@@ -637,6 +637,12 @@ pub struct HoverPopover {
#[derive(Clone, Deserialize, Default)]
pub struct TerminalStyle {
pub colors: TerminalColors,
pub modal_container: ContainerStyle,
}
#[derive(Clone, Deserialize, Default)]
pub struct TerminalColors {
pub black: Color,
pub red: Color,
pub green: Color,
@@ -655,6 +661,7 @@ pub struct TerminalStyle {
pub bright_white: Color,
pub foreground: Color,
pub background: Color,
pub modal_background: Color,
pub cursor: Color,
pub dim_black: Color,
pub dim_red: Color,