Add line height settings for the editor
This commit is contained in:
parent
b7ed467690
commit
77c4fc98bd
5 changed files with 46 additions and 4 deletions
|
@ -198,7 +198,7 @@ impl TerminalLineHeight {
|
|||
match self {
|
||||
TerminalLineHeight::Comfortable => 1.618,
|
||||
TerminalLineHeight::Standard => 1.3,
|
||||
TerminalLineHeight::Custom(line_height) => *line_height,
|
||||
TerminalLineHeight::Custom(line_height) => f32::max(*line_height, 1.),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue