support scrolling tabs

Signed-off-by: Ye Sijun <junnplus@gmail.com>
This commit is contained in:
Ye Sijun authored and Wez Furlong committed 2022-05-01 10:09:31 -07:00
1 parent 8bfcc532a8
commit b73838c426
1 file changed
+4
+4
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();