Show
Ignore:
Timestamp:
08/06/08 14:49:30 (4 years ago)
Author:
mwhitworth
Message:

Various prompt color fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/trunk/user/burn/main.c

    r820 r834  
    164164int main(int argc,char* argv[]) 
    165165{ 
     166    ConsSetForeColor(promptColor); 
     167     
    166168        printf("Burn shell V%d.0%d\n---------------\nPrint help for a list of commands\n", MAJOR_BURN_VERSION, MINOR_BURN_VERSION); 
    167169        strcpy(prompt, ">"); 
     
    171173 
    172174        while (1) 
    173     {    
    174         ConsSetForeColor(promptColor); 
     175    { 
    175176        printf("%s", currPath); 
    176                 printf("%s",prompt); 
    177                 ConsColorReset(); 
     177                printf("%s", prompt); 
    178178                gets(buffer,BUFFER_SIZE-1); 
    179179