1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

fix mouse scroll

This commit is contained in:
源文雨 2023-02-28 22:11:05 +08:00
parent dbddd18e3a
commit c4d703dc86

View File

@ -19,5 +19,8 @@ func DisableQuickEdit() error {
mode &^= windows.ENABLE_QUICK_EDIT_MODE // 禁用快速编辑模式
mode |= windows.ENABLE_EXTENDED_FLAGS // 启用扩展标志
mode &^= windows.ENABLE_MOUSE_INPUT // 禁用鼠标输入
mode |= windows.ENABLE_PROCESSED_INPUT // 启用控制输入
return windows.SetConsoleMode(stdin, mode)
}