diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | src/term/mod.rs | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5057a9ab..366aff0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Prevent semantic and line selection from starting with the right or middle mouse button - Prevent Alacritty from crashing when started on a system without any free space - Resolve issue with high CPU usage after moving Alacritty between displays +- Characters will no longer be deleted when using ncurses with the hard tab optimization ## Version 0.2.5 diff --git a/src/term/mod.rs b/src/term/mod.rs index a35a5df0..07cd27aa 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -1565,8 +1565,9 @@ impl ansi::Handler for Term { count -= 1; let cell = &mut self.grid[&self.cursor.point]; - *cell = self.cursor.template; - cell.c = self.cursor.charsets[self.active_charset].map('\t'); + if cell.c == ' ' { + cell.c = self.cursor.charsets[self.active_charset].map('\t'); + } loop { if (self.cursor.point.col + 1) == self.grid.num_cols() { |