1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Fix message bar not updating PTY size

This commit is contained in:
Christian Duerr 2019-04-24 18:17:09 +00:00 committed by GitHub
parent e9813031f6
commit 73e7a95d54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- On Windows, Alacritty will now use the native DirectWrite font API
- The `start_maximized` window option is now `startup_mode: Maximized`
### Fixed
- PTY size not getting updated when message bar is shown
## Version 0.3.2
### Fixed

View file

@ -416,7 +416,7 @@ impl Display {
pty_size.height -= pty_size.cell_height * message.text(&size).len() as f32;
}
if previous_cols != size.cols() || previous_lines != size.lines() {
if previous_cols != pty_size.cols() || previous_lines != pty_size.lines() {
pty_resize_handle.on_resize(&pty_size);
}