operating_system 
Vars | |
| active_program | The current focused program. |
|---|---|
| current_directory | Current directory being operated on. |
| deadlocked | Halt And Catch Fire (Prevents STDIN, closest we can get to a HALT state.) |
| logged_in | Gotta be logged in to access anything. |
| processing_programs | All programs currently running on the machine. |
Procs | |
| add_processing_program | Setter for the processing programs list. Use execute_program() instead! |
| change_dir | Change active directory. |
| clean_up | Unload everything including myself |
| clear_screen | Clear the screen completely. |
| execute_program | Run a program. |
| get_file | Find a file by it's name in the given directory. Defaults to the current directory. |
| is_operational | Should run this before executing any commands. |
| move_file | Move a file to another location. |
| println | Write to the terminal. |
| processing_program_moved | Handles any running programs being moved in the filesystem. |
| remove_processing_program | Setter for the processing programs list. Use unload_program() instead! |
| resolve_filepath | Returns a file or folder with the given name inside of the given filepath relative to the working directory. |
| set_active_program | Setter for active program. Use execute_program() or unload_program() instead! |
| try_background_program | Move a program to background |
| try_std_in | Wrapper around handling text input to make sure we can actually handle it. |
| unload_program | Close a program. |
Var Details
active_program 
The current focused program.
current_directory 
Current directory being operated on.
deadlocked 
Halt And Catch Fire (Prevents STDIN, closest we can get to a HALT state.)
logged_in 
Gotta be logged in to access anything.
processing_programs 
All programs currently running on the machine.
Proc Details
add_processing_program
Setter for the processing programs list. Use execute_program() instead!
change_dir
Change active directory.
clean_up
Unload everything including myself
clear_screen
Clear the screen completely.
execute_program
Run a program.
get_file
Find a file by it's name in the given directory. Defaults to the current directory.
is_operational
Should run this before executing any commands.
move_file
Move a file to another location.
println
Write to the terminal.
processing_program_moved
Handles any running programs being moved in the filesystem.
remove_processing_program
Setter for the processing programs list. Use unload_program() instead!
resolve_filepath
Returns a file or folder with the given name inside of the given filepath relative to the working directory.
set_active_program
Setter for active program. Use execute_program() or unload_program() instead!
try_background_program
Move a program to background
try_std_in
Wrapper around handling text input to make sure we can actually handle it.
unload_program
Close a program.