mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 10:36:44 +00:00
.gitignore moment
This commit is contained in:
parent
dab2ad1e1f
commit
c4d5ebd500
2 changed files with 33 additions and 0 deletions
1
Capy64/Assets/Lua/bin/hello.lua
Normal file
1
Capy64/Assets/Lua/bin/hello.lua
Normal file
|
@ -0,0 +1 @@
|
|||
print("Hello, world!")
|
32
Capy64/Assets/Lua/bin/shell.lua
Normal file
32
Capy64/Assets/Lua/bin/shell.lua
Normal file
|
@ -0,0 +1,32 @@
|
|||
local term = require("term")
|
||||
local colors = require("colors")
|
||||
local event = require("event")
|
||||
local io = require("io")
|
||||
|
||||
local shell = {}
|
||||
|
||||
shell.path = "/bin/?.lua"
|
||||
|
||||
function shell.getDir()
|
||||
|
||||
end
|
||||
|
||||
function shell.setDir(path)
|
||||
|
||||
end
|
||||
|
||||
function shell.resolve(path)
|
||||
|
||||
end
|
||||
|
||||
function shell.run(path, args)
|
||||
|
||||
end
|
||||
|
||||
|
||||
while true do
|
||||
term.setForeground(colors.yellow)
|
||||
write("$ ")
|
||||
term.setForeground(colors.white)
|
||||
local line = io.read()
|
||||
end
|
Loading…
Reference in a new issue