mirror of
https://github.com/kepler155c/opus
synced 2025-10-17 16:57:39 +00:00
error handling
This commit is contained in:
@@ -516,6 +516,7 @@ local function autocomplete(line)
|
||||
for _,sItem in pairs(results) do
|
||||
nMaxLen = math.max(string.len(sItem) + 1, nMaxLen)
|
||||
end
|
||||
local w = term.getSize()
|
||||
local nCols = math.floor(w / nMaxLen)
|
||||
if #tDirs < nCols then
|
||||
for _ = #tDirs + 1, nCols do
|
||||
|
Reference in New Issue
Block a user