From f86b5724e530ec86eed04ebeb257293244f4be69 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 23 Sep 2021 14:59:14 +0200 Subject: Moved the character execution's to the pointer in order to handle the k command --- cmd/headless_interpreter/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/headless_interpreter/main.go') diff --git a/cmd/headless_interpreter/main.go b/cmd/headless_interpreter/main.go index 73b71dc..9bed538 100644 --- a/cmd/headless_interpreter/main.go +++ b/cmd/headless_interpreter/main.go @@ -38,5 +38,6 @@ func main() { os.Exit(3) } - interpreter.NewInterpreter(f, pointer.NewPointer()).Run() + v := interpreter.NewInterpreter(f, pointer.NewPointer()).Run() + os.Exit(v) } -- cgit v1.2.3