X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2FCLIShell_src%2Fmain.c;h=50cf372dba57a4c418ef30165751a770ec55a220;hb=aa09c2350becd947a7e51fd0bdac945f4aa42d2a;hp=30cf2883eb008608c98702f757dc2fa632555941;hpb=b97cf32102225af9c393b53aa7f0a6703ccf2fae;p=tpg%2Facess2.git diff --git a/Usermode/Applications/CLIShell_src/main.c b/Usermode/Applications/CLIShell_src/main.c index 30cf2883..50cf372d 100644 --- a/Usermode/Applications/CLIShell_src/main.c +++ b/Usermode/Applications/CLIShell_src/main.c @@ -1,9 +1,9 @@ /* - AcessOS Shell Version 2 -- Based on IOOS CLI Shell -*/ + * AcessOS Shell Version 3 + */ #include #include +#include #include "header.h" #define _stdin 0 @@ -52,7 +52,6 @@ int main(int argc, char *argv[], char *envp[]) write(_stdout, 1, "\n"); write(_stdout, 36, "Acess Shell Version 3\n"); - write(_stdout, 30, " Based on CLI Shell for IOOS\n"); write(_stdout, 2, "\n"); for(;;) { @@ -425,8 +424,12 @@ void Command_Dir(int argc, char **argv) if(info.flags & FILEFLAG_DIRECTORY) write(_stdout, 1, "/"); - // Revert Colour and end line + // Revert Colour write(_stdout, 6, "\x1B[37m"); + + // Put Size + printf(" Size: %i", info.size); + write(_stdout, 1, "\n"); } // Close Directory