File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -153,9 +153,15 @@ static void close_stdio(void)
153
153
return DR_DONE ;
154
154
}
155
155
156
- //Used to get handle of a newly created console
157
- //See: http://support.microsoft.com/kb/124103
158
- HWND GetConsoleHwnd (void ) {
156
+ /***********************************************************************
157
+ **
158
+ */ HWND GetConsoleHwnd (void )
159
+ /*
160
+ ** Used to get handle of a newly created console
161
+ ** See: http://support.microsoft.com/kb/124103
162
+ **
163
+ ***********************************************************************/
164
+ {
159
165
#define MY_BUFSIZE 1024 // Buffer size for console window titles.
160
166
HWND hwndFound ; // This is what is returned to the caller.
161
167
char pszNewWindowTitle [MY_BUFSIZE ]; // Contains fabricated
@@ -251,7 +257,7 @@ HWND GetConsoleHwnd(void) {
251
257
// While the line editor is running with ENABLE_LINE_INPUT, there
252
258
// are very few hooks offered.
253
259
//
254
- SetConsoleMode ( Std_Inp , CONSOLE_MODES );
260
+ SetConsoleMode (Std_Inp , CONSOLE_MODES );
255
261
}
256
262
257
263
// Handle stdio CTRL-C interrupt:
You can’t perform that action at this time.
0 commit comments