Commit 91ca50aecb
Unregistered key
Layout: unified · split
src/message/mod.rs +2
| @@ -961,6 +961,8 @@ impl Message { | |||
| 961 | let proto = proto.map(|p| { | 961 | let proto = proto.map(|p| { |
| 962 | let y_off = text.lines.len() as u16; | 962 | let y_off = text.lines.len() as u16; |
| 963 | let x_off = fmt.cols.user_gutter_width(settings); | 963 | let x_off = fmt.cols.user_gutter_width(settings); |
| 964 | // Adjust y_off by 1 if a date was printed before the message to account for the extra line. | ||
| 965 | let y_off = if fmt.date.is_some() { y_off + 1 } else { y_off }; | ||
| 964 | (p, x_off, y_off) | 966 | (p, x_off, y_off) |
| 965 | }); | 967 | }); |
| 966 | 968 | ||