Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use user-defined font weight in terminal (#13926)
Aleksei Gusev11c7374f767b
diff --git a/crates/terminal_view/src/terminal_element.rs b/crates/terminal_view/src/terminal_element.rsindex 489bf2bb2dd..de6da6e099c 100644--- a/crates/terminal_view/src/terminal_element.rs+++ b/crates/terminal_view/src/terminal_element.rs@@ -370,7 +370,7 @@ impl TerminalElement {let weight = if flags.intersects(Flags::BOLD) {FontWeight::BOLD} else {- FontWeight::NORMAL+ text_style.font_weight};let style = if flags.intersects(Flags::ITALIC) {@@ -637,7 +637,7 @@ impl Element for TerminalElement {let link_style = HighlightStyle {color: Some(theme.colors().link_text_hover),- font_weight: None,+ font_weight: Some(font_weight),font_style: None,background_color: None,underline: Some(UnderlineStyle {