- Timestamp:
- 11/01/09 05:32:26 (3 years ago)
- Children:
- 6e20c10dbc1b6740f94a01f74d6eeda8bb3a7ca4
- Parents:
- 111fe227a44f170e91f2d6f57dd6ce285b67a56a
- git-committer:
- Pierre-Alexandre Meyer <pierre@mouraf.org> / 2009-10-31T22:32:26Z-0700
- Files:
-
- 1 modified
-
com32/hdt/hdt-common.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
com32/hdt/hdt-common.h
r47ac91 r78f771 61 61 62 62 #define pause_printf() do {\ 63 printf("--More--");\64 get_key(stdin, 0);\65 printf("\n");\63 printf("--More--");\ 64 get_key(stdin, 0);\ 65 printf("\033[2K\033[1G\033[1F\n");\ 66 66 } while (0); 67 67 68 68 #define more_printf(...) do {\ 69 69 if (display_line_nb == 20) {\ 70 printf("\n Press any key to continue");\70 printf("\n--More--");\ 71 71 display_line_nb=0;\ 72 72 get_key(stdin, 0);\ 73 printf("\033[2K\033[1G\033[1F");\ 73 74 }\ 74 printf (__VA_ARGS__);\75 printf(__VA_ARGS__);\ 75 76 display_line_nb++; \ 76 77 } while (0);
