terminal is fixed and im not happy about it

This commit is contained in:
Zacharias-Brohn
2026-04-09 23:49:32 +02:00
parent f38033c782
commit 5129612f9f
3 changed files with 59 additions and 19 deletions
+10 -2
View File
@@ -2536,8 +2536,16 @@ impl App {
}
}
text.push_str(line.trim_end());
if content_row < end.row {
let is_wrapped =
row_cells.first().map(|c| c.wrapped).unwrap_or(false);
if is_wrapped {
text.push_str(&line);
} else {
text.push_str(line.trim_end());
}
if content_row < end.row && !is_wrapped {
text.push('\n');
}
}