terminal is fixed and im not happy about it
This commit is contained in:
+10
-2
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user