v0.10.0 - Added text editor (which took me way too long) and too many other tweaks to name.

This commit is contained in:
TheWahlolly
2025-05-04 15:16:54 +03:00
parent 6b8bee249a
commit 673a0b4a75
19 changed files with 997 additions and 384 deletions
+6 -1
View File
@@ -48,7 +48,12 @@ function filesystem.open(path, mode) -- opens a file and returns its handle
return nil, "invalid handle type"
end
local address, absPath = filesystem.processPath(path)
local handle = component.invoke(address, "open", absPath, mode)
local handleArgs = {component.invoke(address, "open", absPath, mode)}
local handle = handleArgs[1]
if not handle then
return table.unpack(handleArgs)
end
handleArgs = nil
local properHandle = {}
properHandle.handle = handle
properHandle.address = address