Styling option for separating terminal view background from background color (#17611)

Closes #17313

Release Notes:

- Added theme styling option to separate terminal background view from
terminal background color, for transparent terminal backgrounds
This commit is contained in:
Albert Marashi 2024-09-18 02:21:31 +09:30 committed by GitHub
parent 3d69942f71
commit 0070635b4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 19 additions and 5 deletions

View file

@ -75,7 +75,7 @@ pub fn text_style(cx: &mut WindowContext) -> TextStyle {
font_size: theme::get_buffer_font_size(cx).into(),
font_style: FontStyle::Normal,
line_height: cx.line_height().into(),
background_color: Some(theme.colors().terminal_background),
background_color: Some(theme.colors().terminal_ansi_background),
white_space: WhiteSpace::Normal,
truncate: None,
// These are going to be overridden per-cell