parent
03bce99ab6
commit
34daa1237b
|
@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Tabstops not being reset with `reset`
|
- Tabstops not being reset with `reset`
|
||||||
|
- Selection not cleared when switching between main and alt grid
|
||||||
|
|
||||||
## 0.4.2
|
## 0.4.2
|
||||||
|
|
||||||
|
|
|
@ -1195,6 +1195,7 @@ impl<T> Term<T> {
|
||||||
let template = self.cursor.template;
|
let template = self.cursor.template;
|
||||||
self.grid.region_mut(..).each(|c| c.reset(&template));
|
self.grid.region_mut(..).each(|c| c.reset(&template));
|
||||||
}
|
}
|
||||||
|
self.grid.selection = None;
|
||||||
|
|
||||||
self.alt = !self.alt;
|
self.alt = !self.alt;
|
||||||
mem::swap(&mut self.grid, &mut self.alt_grid);
|
mem::swap(&mut self.grid, &mut self.alt_grid);
|
||||||
|
|
Loading…
Reference in New Issue