Skip to content

Commit cfe11eb

Browse files
committed
msg input: wire up config.line_height
1 parent 740f48a commit cfe11eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/buffer/input_view.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ pub fn view<'a>(
289289
.padding([2, 4])
290290
.wrapping(text::Wrapping::WordOrGlyph)
291291
.height(Length::Shrink)
292+
.line_height(theme::line_height(&config.font))
292293
.style(style);
293294

294295
if !disabled {
@@ -498,6 +499,7 @@ pub fn view<'a>(
498499
None,
499500
))
500501
.style(move |_| our_user_style)
502+
.line_height(theme::line_height(&config.font))
501503
.font_maybe(
502504
theme::font_style::nickname(theme, false)
503505
.map(font::get),

0 commit comments

Comments
 (0)