Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Quake style: Add an option to always display the console on the active screen #255
When I press the global hotkey associated with "Minimize/Restore (Quake-style hotkey also)", I'd like to have the console be displayed on the active screen (i.e., where my mouse is currently located).
This is relevant for multi-screen environments; if i'm working on my 2nd screen, then it's useful to have the console also on the 2nd screen if I go back to the 1st screen and need the console then it should appear there instead.
With such an option (i.e., having it automated), then I don't have to worry about knowing additional shortcuts to move the console window myself, it just follows me & displays 'in-context'.
Here's a gist that might help: https://gist.github.com/dsebastien/a9f803713294d2b87217
It certainly ain't great CPP code (I haven't touched a C/CPP line of code in many years) but it does what I meant above ;-)
I'm just no sure where/how to integrate this in ConEmu so any pointers/help would be appreciated ^^.