diff --git a/tei/server.go b/tei/server.go index 77945b2..4699456 100644 --- a/tei/server.go +++ b/tei/server.go @@ -54,7 +54,7 @@ func (e *Engine) Run(ctx context.Context) error { fmt.Fprintln(e.out, "id author Nelson Elhage") fmt.Fprintln(e.out, "teiok") case "quit": - break + return nil case "teinewgame": e.mm = nil e.pos = nil