diff options
Diffstat (limited to 'src/row.rs')
-rw-r--r-- | src/row.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -432,8 +432,7 @@ impl Row { // wrapped, we need to redraw the last character without erasing it to // position the cursor after the end of the line correctly so that // drawing the next line can just start writing and be wrapped. - if (!self.wrapped && prev.wrapped) - || (!prev.wrapped && self.wrapped && prev_pos.col < self.cols()) + if (!self.wrapped && prev.wrapped) || (!prev.wrapped && self.wrapped) { let end_pos = if self .get(self.cols() - 1) |