File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
- // public domain
2
- #include <windows.h>
3
-
4
- int main (void ) {
5
- CONSOLE_CURSOR_INFO ConsoleCursorInfo ;
6
- ConsoleCursorInfo .dwSize = 1 ; //bottom hairline
7
- ConsoleCursorInfo .bVisible = TRUE;
8
- HANDLE conout = GetStdHandle (STD_OUTPUT_HANDLE );
9
-
10
- if (conout != INVALID_HANDLE_VALUE ) {
11
- if (SetConsoleCursorInfo (conout , & ConsoleCursorInfo ))
12
- return 0 ;
13
- }
14
- return 1 ;
1
+ // public domain
2
+ #include <windows.h>
3
+
4
+ int main (void ) {
5
+ CONSOLE_CURSOR_INFO ConsoleCursorInfo ;
6
+ ConsoleCursorInfo .dwSize = 1 ; //bottom hairline
7
+ ConsoleCursorInfo .bVisible = TRUE;
8
+ HANDLE conout = GetStdHandle (STD_OUTPUT_HANDLE );
9
+
10
+ if (conout != INVALID_HANDLE_VALUE ) {
11
+ if (SetConsoleCursorInfo (conout , & ConsoleCursorInfo ))
12
+ return 0 ;
13
+ }
14
+ return 1 ;
15
15
}
You can’t perform that action at this time.
0 commit comments