mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-07 19:19:12 +00:00
Use user-defined font weight in terminal (#13926)
Related #13653 Release Notes: - Fixed honoring of the `terminal.font_weight` user setting
This commit is contained in:
parent
cd7268f21f
commit
11c7374f76
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue