Skip to content

Commit

Permalink
Try implementing quit in TEI mode
Browse files Browse the repository at this point in the history
fixes #31
  • Loading branch information
nelhage committed Feb 5, 2024
1 parent 8ab398a commit ec1ebec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tei/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec1ebec

Please sign in to comment.