修复移动端滚动按钮在鼠标模式下失效

This commit is contained in:
beibeizi committed 2026-03-16 16:46:35 +08:00
1 parent 26d236fd8c
commit ae83daeff6
1 file changed
-3
@@ -253,9 +253,6 @@ export function useTerminalSocket({
if (!term || !container) {
return;
}
if (term.modes.mouseTrackingMode !== "none") {
return;
}
const lineDelta = direction === "up" ? -8 : 8;
const sendTmuxWheelPage = (delta: number) => {
if (delta === 0) {