1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-21 11:50:42 +03:00

support scrolling tabs

Signed-off-by: Ye Sijun <junnplus@gmail.com>
This commit is contained in:
Ye Sijun 2022-05-01 00:35:25 +08:00 committed by Wez Furlong
parent 8bfcc532a8
commit b73838c426

View File

@ -425,6 +425,10 @@ impl super::TermWindow {
}
_ => {}
},
WMEK::VertWheel(n) => {
self.activate_tab_relative(if n < 1 { 1 } else { -1 }, true)
.ok();
}
_ => {}
}
self.update_title_post_status();