{
case 0: return; // Ignore NULL byte
case '\n':
+ LOG("%i += %i", Term->WritePos, Term->Width);
Term->WritePos += Term->Width;
case '\r':
Term->WritePos -= Term->WritePos % Term->Width;
/*\r
- AcessOS Shell Version 2\r
-- Based on IOOS CLI Shell\r
-*/\r
+ * AcessOS Shell Version 3\r
+ */\r
#include <acess/sys.h>\r
#include <stdlib.h>\r
+#include <stdio.h>\r
#include "header.h"\r
\r
#define _stdin 0\r
\r
write(_stdout, 1, "\n");\r
write(_stdout, 36, "Acess Shell Version 3\n");\r
- write(_stdout, 30, " Based on CLI Shell for IOOS\n");\r
write(_stdout, 2, "\n");\r
for(;;)\r
{\r
if(info.flags & FILEFLAG_DIRECTORY)\r
write(_stdout, 1, "/");\r
\r
- // Revert Colour and end line\r
+ // Revert Colour\r
write(_stdout, 6, "\x1B[37m");\r
+ \r
+ // Put Size\r
+ printf(" Size: %i", info.size);\r
+ \r
write(_stdout, 1, "\n");\r
}\r
// Close Directory\r