1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-24 07:46:59 +03:00

gui: also log current size during a resize event

refs: #947
This commit is contained in:
Wez Furlong 2021-09-02 09:18:32 -07:00
parent da455cafa1
commit 97831848cb

View File

@ -15,8 +15,9 @@ pub struct RowsAndCols {
impl super::TermWindow {
pub fn resize(&mut self, dimensions: Dimensions, window_state: WindowState, window: &Window) {
log::trace!(
"resize event, current cells: {:?}, new dims: {:?} window_state:{:?}",
"resize event, current cells: {:?}, current dims: {:?}, new dims: {:?} window_state:{:?}",
self.current_cell_dimensions(),
self.dimensions,
dimensions,
window_state,
);