From 3d81837261ff0a3b3fba8d59243c06fee8d650f4 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 20 Oct 2017 15:17:57 -0700 Subject: Made it so nomsu only runs REPL with -i --- nomsu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index 9b4b2f1..aecb6fe 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -1017,7 +1017,7 @@ if arg then c.write = _write end end - if not args.input or args.flags["-i"] then + if args.flags["-i"] then c:run('require "lib/core.nom"', "stdin") while true do local buff = "" -- cgit v1.2.3