patch info

pull/8675/merge^2
mattwparas 2023-08-23 09:29:42 -07:00
parent 5fbc086ccd
commit 79f5b252d9
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ impl Info {
Self {
title: title.to_string(),
width: text.lines().map(|l| l.width()).max().unwrap() as u16,
width: text.lines().map(|l| l.width()).max().unwrap_or(body.len()) as u16,
// height: (body.len() + newlines) as u16,
height,
text,