Skip to content

Commit

Permalink
Fix missing linebreaks in uci options
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticXWolf committed Apr 20, 2021
1 parent 2d14589 commit 01c148e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uci/uci.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ func (p *UciProtocol) HandleInput(message string) error {
func (p *UciProtocol) uciCmd(messageParts []string) error {
fmt.Printf("id name %s %s\n", p.name, p.version)
fmt.Printf("id author %s\n", p.author)
fmt.Printf("option Hash type spin default 256 min 1 max 2048")
fmt.Printf("option Move Overhead type spin default 200 min 1 max 1000")
fmt.Printf("option Max Time type spin default 30 min 2 max 300")
fmt.Printf("option Hash type spin default 256 min 1 max 2048\n")
fmt.Printf("option Move Overhead type spin default 200 min 1 max 1000\n")
fmt.Printf("option Max Time type spin default 30 min 2 max 300\n")
fmt.Println("uciok")
return nil
}
Expand Down

0 comments on commit 01c148e

Please sign in to comment.