Short summary of beneficial problem solving experience:
After using gdb I wanted the cmd.exe window to scroll with the wheel of the mouse while debugging; and after finally reading:

this answer by @KyleStrand:

Apparently cmd.exe does intelligently disable scrolling by default,

to this part of his question:

Is there a way to configure the Windows command prompt to automatically disable scrolling (with both the scrollbar and the mousewheel) whenever an application is launched that runs inside the console window itself?

Ideally, there should be a way to have Windows "intelligently" determine whether scrolling should be disabled

it was evident that I hadn't caused this unwanted lack of mouse-wheel functionality. :)

So how can this 'problem' be fixed in Windows 10?


Happily, just discovered this, you just have to take away focus from that cmd.exe window by either:

  • clicking (give focus to) another (preferably small) window
  • or clicking the desktop

and then the mouse wheel scrolls the application, my gdb, running in an unfocused cmd.exe window just fine. :D (Using Windows 10 Home)

tl;dr: Giving focus to another window, or clicking the desktop, enables wheel scrolling in the now-unfocused cmd.exe window that has its scrolling "intelligently disabled".

edit: That window's scrolling will be enabled until you click/give-focus-back-to it again. :)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.