From a05cf83a7bfd6a8606e63e0eb40503955926411c Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Tue, 31 Aug 2021 20:26:20 +1000 Subject: [PATCH] comment --- engine/repl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/repl.go b/engine/repl.go index 2d708b1..5948fcf 100644 --- a/engine/repl.go +++ b/engine/repl.go @@ -15,7 +15,7 @@ import ( func (g *Game) REPL(src io.Reader, dst io.Writer, assets fs.FS) error { const prompt = "game> " fmt.Fprint(dst, prompt) - sc := bufio.NewScanner(src) + sc := bufio.NewScanner(src) // TODO: use a repl library? for sc.Scan() { argv := strings.Split(sc.Text(), " ") if len(argv) == 0 {