-
Notifications
You must be signed in to change notification settings - Fork 796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win32console missing some console functions #1266
Comments
Depends. If it is a function, which has been added years ago, then it might be missing in PyWin32 still. Just take a look at the recent pull requests. If you like you can try adding it yourself and share it with us 😊 |
SetConsoleCursorPosition exists in pywin32 object PyConsoleScreenBuffer . The following message maybe helpful:PyConsoleScreenBuffer Object SetConsoleCursorPosition:Sets the console screen buffer's cursor position SetConsoleScreenBufferSize:Sets the size of the console screen buffer |
@needhourger If you have a request for a specific missing method, you can open an issue for it or try adding it yourself!
import win32console
coord = win32console.PyCOORDType(0,0)
win32console .CreateConsoleScreenBuffer().SetConsoleCursorPosition(coord)
win32console.GetStdHandle(handle).SetConsoleCursorPosition(coord)
win32console.PyConsoleScreenBufferType(handle).SetConsoleCursorPosition(coord) |
I wonder that I can't find functions like SetConsoleCursorPosstion???
not support? or just because i miss it?
The text was updated successfully, but these errors were encountered: