From fe08db56cc9566870cb98b496f82db4877de81cc Mon Sep 17 00:00:00 2001 From: Wuerfel_21 Date: Mon, 16 Jun 2014 23:12:37 +0200 Subject: [PATCH] Made history longer It was too short, i always needed to retype long commands --- src/main/resources/assets/opencomputers/loot/OpenOS/bin/sh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/assets/opencomputers/loot/OpenOS/bin/sh.lua b/src/main/resources/assets/opencomputers/loot/OpenOS/bin/sh.lua index 32d4ad9e4..7f3cd8e29 100644 --- a/src/main/resources/assets/opencomputers/loot/OpenOS/bin/sh.lua +++ b/src/main/resources/assets/opencomputers/loot/OpenOS/bin/sh.lua @@ -165,7 +165,7 @@ if #args == 0 and (io.input() == io.stdin or options.i) and not options.c then term.write("exit\n") return -- eof end - while #history > 10 do + while #history > 20 do table.remove(history, 1) end command = text.trim(command)