mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
fix RestoreInputMode
This commit is contained in:
parent
377d7af2c1
commit
07b1e6b72e
@ -14,7 +14,7 @@ func RestoreInputMode() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
stdin := windows.Handle(os.Stdin.Fd())
|
stdin := windows.Handle(os.Stdin.Fd())
|
||||||
return windows.SetConsoleMode(stdin, mode)
|
return windows.SetConsoleMode(stdin, inputmode)
|
||||||
}
|
}
|
||||||
|
|
||||||
// DisableQuickEdit 禁用快速编辑
|
// DisableQuickEdit 禁用快速编辑
|
||||||
|
Loading…
x
Reference in New Issue
Block a user