mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 03:05:30 -04:00
Made history longer
It was too short, i always needed to retype long commands
This commit is contained in:
parent
cbfe1dd25a
commit
fe08db56cc
@ -165,7 +165,7 @@ if #args == 0 and (io.input() == io.stdin or options.i) and not options.c then
|
|||||||
term.write("exit\n")
|
term.write("exit\n")
|
||||||
return -- eof
|
return -- eof
|
||||||
end
|
end
|
||||||
while #history > 10 do
|
while #history > 20 do
|
||||||
table.remove(history, 1)
|
table.remove(history, 1)
|
||||||
end
|
end
|
||||||
command = text.trim(command)
|
command = text.trim(command)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user