Ticket #1632: blue_screen.diff

File blue_screen.diff, 508 bytes (added by jackburton, 17 years ago)

Make debug output wait for ENTER each time screen page is full (from ticket #1444)

  • src/system/kernel/debug/

    old new  
    101101        scroll_up();
    102102#else
    103103        sScreen.y = 0;
     104
     105        static bool sScreenPaging = true;
     106        if (sScreenPaging) {
     107            char c = ' ';
     108            while ((c = blue_screen_getchar()) != '\n') {
     109                if (c == 'q') {
     110                    sScreenPaging = false;
     111                    break;
     112                }
     113            }
     114        }
    104115#endif
    105116    } else if (sScreen.y < sScreen.rows - 1) {
    106117        sScreen.y++;