More terminal stuff.
git-svn-id: https://spexeah.com:8443/svn/Asuro@219 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
95edd32845
commit
4374d6ad7b
9 files changed
+15
-1
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+15
-1
@@ -31,10 +31,24 @@ begin
|
||||
end;
|
||||
|
||||
procedure process_command;
|
||||
var
|
||||
fallthrough : boolean;
|
||||
|
||||
begin
|
||||
console.writecharln(' ');
|
||||
//Process Here
|
||||
if isCommand('version') then console.writestringln('Asuro v1.0');
|
||||
fallthrough:= true;
|
||||
if isCommand('version') then begin
|
||||
console.writestringln('Asuro v1.0');
|
||||
fallthrough:= false;
|
||||
end;
|
||||
if isCommand('clear') then begin
|
||||
console.clear();
|
||||
fallthrough:= false;
|
||||
end;
|
||||
if fallthrough then begin
|
||||
console.writestringln('Unknown Command.');
|
||||
end;
|
||||
console.writestring('Asuro#> ');
|
||||
bIndex:= 0;
|
||||
memset(uint32(@buffer[0]), 0, 1024);
|
||||
|
||||
Reference in new issue
Block a user