Can I customize the focus on a console application in Windows? SetFocus looks promising, but it needs HWND, and I don't know if there is even one in console applications.
Use the GetConsoleWindow function.
Source: https://habr.com/ru/post/988111/More articles:Using the base path in Laravel 5 (Lumen) - phpIs storing variables in $ rootScope good practice? - angularjsIonic structure and imgcache angularjs not working on iOS device - angularjsKeeping the terminal in focus - pythonCalibration of images with an empty source - htmlReload jqGrid on save / submit - jquerycrash dump on ubuntu: vmlinuz or crash file is not supported by file format - cHow to make the application go to the forefront and focus? - c ++Using grep and ls -a - linuxIs there an easy way to replace placeholders in Excel? - vbaAll Articles