diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2020-03-30 11:46:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 11:46:20 +0300 |
commit | f80e8eca73a16f450c66902fe66982fb228654fb (patch) | |
tree | b9769bcf4b10e3c5ba44209e788715fc0db1d306 | |
parent | fde2424b398dadd2310686b365041189decd1d63 (diff) | |
download | alacritty-f80e8eca73a16f450c66902fe66982fb228654fb.tar.gz alacritty-f80e8eca73a16f450c66902fe66982fb228654fb.zip |
Fix tabstops not being reset with 'reset'
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | alacritty_terminal/src/term/mod.rs | 1 |
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; } |