mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
Reset scrolling region when receiving RIS escape
This commit is contained in:
parent
090842bd8e
commit
bc80a74a69
2 changed files with 11 additions and 0 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
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).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Added ScrollLineUp and ScrollLineDown actions for scrolling line by line
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Reset scrolling region when the RIS escape sequence is received
|
||||||
|
|
||||||
## Version 0.3.0
|
## Version 0.3.0
|
||||||
|
|
||||||
### Packaging
|
### Packaging
|
||||||
|
|
|
@ -1995,6 +1995,7 @@ impl ansi::Handler for Term {
|
||||||
self.cursor_style = None;
|
self.cursor_style = None;
|
||||||
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
Loading…
Reference in a new issue