From 7a2893078d934cd5cb3b9fdd572f25a5b5d81b92 Mon Sep 17 00:00:00 2001 From: elioat Date: Sun, 9 Jun 2024 19:42:46 -0400 Subject: * --- lua/chupacabra/repl.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/chupacabra/repl.lua') diff --git a/lua/chupacabra/repl.lua b/lua/chupacabra/repl.lua index bed67c2..55e10a4 100644 --- a/lua/chupacabra/repl.lua +++ b/lua/chupacabra/repl.lua @@ -20,7 +20,7 @@ local function scratch(input) table.insert(stack, {input = input, output = output}) end -local function print_stack() +local function scratch_out() for i, entry in ipairs(stack) do print(" input: " .. entry.input) if type(entry.output) == "table" then @@ -38,6 +38,6 @@ while true do break end scratch(input) - print_stack() + scratch_out() stack = {} end \ No newline at end of file -- cgit 1.4.1-2-gfad0