aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-03-30 11:46:20 +0300
committerGitHub <noreply@github.com>2020-03-30 11:46:20 +0300
commitf80e8eca73a16f450c66902fe66982fb228654fb (patch)
treeb9769bcf4b10e3c5ba44209e788715fc0db1d306
parentfde2424b398dadd2310686b365041189decd1d63 (diff)
downloadalacritty-f80e8eca73a16f450c66902fe66982fb228654fb.tar.gz
alacritty-f80e8eca73a16f450c66902fe66982fb228654fb.zip
Fix tabstops not being reset with 'reset'
-rw-r--r--CHANGELOG.md3
-rw-r--r--alacritty_terminal/src/term/mod.rs1
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c61cf706..e5145b64 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Block cursor is no longer inverted at the start/end of a selection
- Preserve selection on non-LMB or mouse mode clicks
+### Fixed
+- Tabstops not being reset with `reset`
+
## 0.4.2-dev
### Packaging
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs
index 65c2899e..8a621a32 100644
--- a/alacritty_terminal/src/term/mod.rs
+++ b/alacritty_terminal/src/term/mod.rs
@@ -1999,6 +1999,7 @@ impl<T: EventListener> Handler for Term<T> {
self.grid.reset(&Cell::default());
self.alt_grid.reset(&Cell::default());
self.scroll_region = Line(0)..self.grid.num_lines();
+ self.tabs = TabStops::new(self.grid.num_cols());
self.title_stack = Vec::new();
self.title = None;
}