summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-03-30 11:46:20 +0300
committerChristian Duerr <contact@christianduerr.com>2020-05-26 00:02:20 +0000
commit244744d6aa2f7032de7e3152f0016c19a68fbf3b (patch)
treef1cba481a6165c66847d3fd28acb11134c83eafe
parentf68de375b67d18f6ea5940e9e93ada1ed4e03caf (diff)
downloadalacritty-244744d6aa2f7032de7e3152f0016c19a68fbf3b.tar.gz
alacritty-244744d6aa2f7032de7e3152f0016c19a68fbf3b.zip
Fix tabstops not being reset with 'reset'
-rw-r--r--CHANGELOG.md4
-rw-r--r--alacritty_terminal/src/term/mod.rs1
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 513b12b4..5f337236 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 0.4.2
+### 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 590c7d63..5db57339 100644
--- a/alacritty_terminal/src/term/mod.rs
+++ b/alacritty_terminal/src/term/mod.rs
@@ -1883,6 +1883,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;
}