1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-28 01:06:37 +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 { impl super::TermWindow {
pub fn resize(&mut self, dimensions: Dimensions, window_state: WindowState, window: &Window) { pub fn resize(&mut self, dimensions: Dimensions, window_state: WindowState, window: &Window) {
log::trace!( 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.current_cell_dimensions(),
self.dimensions,
dimensions, dimensions,
window_state, window_state,
); );