diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index 199fd207aad..8a9d3e77655 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -430,7 +430,8 @@ impl Term { if cols.end >= self.columns() - 1 && (line_length.0 == 0 - || !self.grid[line][line_length - 1].flags.contains(Flags::WRAPLINE)) + /* || !self.grid[line][line_length - 1].flags.contains(Flags::WRAPLINE)) */ + || self.grid[line][cols.end].c == ' ') { text.push('\n'); }