Changeset 834
- Timestamp:
- 08/06/08 14:49:30 (4 years ago)
- Location:
- Whitix/trunk/user/burn
- Files:
-
- 2 modified
-
builtins.c (modified) (3 diffs)
-
main.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/trunk/user/burn/builtins.c
r820 r834 66 66 } 67 67 } 68 69 ConsSetForeColor(promptColor); 70 68 71 return 0; 69 72 } … … 88 91 89 92 fd=SysOpen((dirName) ? dirName : ".",_SYS_FILE_READ,0); 93 90 94 if (fd < 0) 91 95 { … … 131 135 { 132 136 putchar('/'); 133 Cons ColorReset();137 ConsSetForeColor(promptColor); 134 138 } 135 139 -
Whitix/trunk/user/burn/main.c
r820 r834 164 164 int main(int argc,char* argv[]) 165 165 { 166 ConsSetForeColor(promptColor); 167 166 168 printf("Burn shell V%d.0%d\n---------------\nPrint help for a list of commands\n", MAJOR_BURN_VERSION, MINOR_BURN_VERSION); 167 169 strcpy(prompt, ">"); … … 171 173 172 174 while (1) 173 { 174 ConsSetForeColor(promptColor); 175 { 175 176 printf("%s", currPath); 176 printf("%s",prompt); 177 ConsColorReset(); 177 printf("%s", prompt); 178 178 gets(buffer,BUFFER_SIZE-1); 179 179
