Fix tabstops not being reset with 'reset'
This commit is contained in:
parent
fde2424b39
commit
f80e8eca73
|
@ -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
|
- Block cursor is no longer inverted at the start/end of a selection
|
||||||
- Preserve selection on non-LMB or mouse mode clicks
|
- Preserve selection on non-LMB or mouse mode clicks
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Tabstops not being reset with `reset`
|
||||||
|
|
||||||
## 0.4.2-dev
|
## 0.4.2-dev
|
||||||
|
|
||||||
### Packaging
|
### Packaging
|
||||||
|
|
|
@ -1999,6 +1999,7 @@ impl<T: EventListener> Handler for Term<T> {
|
||||||
self.grid.reset(&Cell::default());
|
self.grid.reset(&Cell::default());
|
||||||
self.alt_grid.reset(&Cell::default());
|
self.alt_grid.reset(&Cell::default());
|
||||||
self.scroll_region = Line(0)..self.grid.num_lines();
|
self.scroll_region = Line(0)..self.grid.num_lines();
|
||||||
|
self.tabs = TabStops::new(self.grid.num_cols());
|
||||||
self.title_stack = Vec::new();
|
self.title_stack = Vec::new();
|
||||||
self.title = None;
|
self.title = None;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue