Skip to content

Commit

Permalink
Resolve incorrect printing
Browse files Browse the repository at this point in the history
Batch seems to have issues with plain `println`, use fmt package
  • Loading branch information
Zusier authored Nov 24, 2021
1 parent e2b4a08 commit 4c5241f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion multichoice/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"os"
"strings"
"fmt"

"github.com/lxn/walk"
//lint:ignore ST1001 standard behavior lxn/walk
Expand Down Expand Up @@ -50,7 +51,7 @@ func main() {
PushButton{
Text: "Ok",
OnClicked: func() {
println(strings.Join(outputChoices, ";"))
fmt.Println(strings.Join(outputChoices, ";"))
os.Exit(0)
},
},
Expand Down

0 comments on commit 4c5241f

Please sign in to comment.