| 43 | |
| 44 | #ifdef HAVE_NCURSES |
| 45 | static void exFAT_dump_ncurses(disk_t *disk, const partition_t *partition, const unsigned char *buffer_bs, const unsigned char *buffer_backup_bs) |
| 46 | { |
| 47 | WINDOW *window=newwin(LINES, COLS, 0, 0); /* full screen */ |
| 48 | keypad(window, TRUE); /* Need it to get arrow key */ |
| 49 | aff_copy(window); |
| 50 | wmove(window,4,0); |
| 51 | wprintw(window,"%s",disk->description(disk)); |
| 52 | wmove(window,5,0); |
| 53 | aff_part(window,AFF_PART_ORDER|AFF_PART_STATUS,disk,partition); |
| 54 | mvwaddstr(window,6,0, "Boot sector Backup boot record"); |
| 55 | dump2(window, buffer_bs, buffer_backup_bs, 12 * disk->sector_size); |
| 56 | delwin(window); |
| 57 | (void) clearok(stdscr, TRUE); |
| 58 | #ifdef HAVE_TOUCHWIN |
| 59 | touchwin(stdscr); |
| 60 | #endif |
| 61 | } |
| 62 | #endif |
| 63 | |
| 64 | static void exFAT_dump(disk_t *disk, const partition_t *partition, const unsigned char *buffer_bs, const unsigned char *buffer_backup_bs, char **current_cmd) |
no test coverage detected