mirror of
https://github.com/wez/wezterm.git
synced 2024-09-11 14:25:57 +03:00
fix: PaneInformation.pixel_height returned width!
Thank you to Rust's unread field warning!
This commit is contained in:
parent
209d13bd6b
commit
616eb2fc21
@ -86,6 +86,8 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
in a pure temporary directory; they live in a cache dir, and if someone
|
||||
does remove or truncate these files, we now convert that error case
|
||||
into blank frame(s). #5422
|
||||
* PaneInformation object returned `pixel_width` when asked to return the
|
||||
`pixel_height`.
|
||||
|
||||
#### Updated
|
||||
* Bundled conpty.dll and OpenConsole.exe to build 1.19.240130002.nupkg
|
||||
|
@ -283,7 +283,7 @@ impl UserData for PaneInformation {
|
||||
fields.add_field_method_get("width", |_, this| Ok(this.width));
|
||||
fields.add_field_method_get("height", |_, this| Ok(this.height));
|
||||
fields.add_field_method_get("pixel_width", |_, this| Ok(this.pixel_width));
|
||||
fields.add_field_method_get("pixel_height", |_, this| Ok(this.pixel_width));
|
||||
fields.add_field_method_get("pixel_height", |_, this| Ok(this.pixel_height));
|
||||
fields.add_field_method_get("title", |_, this| Ok(this.title.clone()));
|
||||
fields.add_field_method_get("user_vars", |_, this| Ok(this.user_vars.clone()));
|
||||
fields.add_field_method_get("foreground_process_name", |_, this| {
|
||||
|
Loading…
Reference in New Issue
Block a user