in reply to win32::console question
Second: why aren't you using the constants provided? The above docs mention which modes are legal for Mode. I tried to figure out exactly which one you're resetting, but bitwise OR of all constants listed gave me a value of 0x1F. Clearly, whichever bit you are resetting, it's not in this list.
I followed the link in the docs to Microsoft's reference page, but it's a dead end. A bit of poking around, and I came up with this link: Console Modes, explaining all available modes, both under "high-level" and "low-level" modes.
Anyway, once you figure out which bit to reset, you can do it using the constant, like this:
$mode &= ~CONSTANT;
p.s. My first guess would be that you need to use ENABLE_MOUSE_INPUT, but don't pin me down on it. It's not even clear to me what problem you are describing.
|
|---|