Skip to content

Commit 4c5241f

Browse files
authored
Resolve incorrect printing
Batch seems to have issues with plain `println`, use fmt package
1 parent e2b4a08 commit 4c5241f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

multichoice/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package main
33
import (
44
"os"
55
"strings"
6+
"fmt"
67

78
"github.com/lxn/walk"
89
//lint:ignore ST1001 standard behavior lxn/walk
@@ -50,7 +51,7 @@ func main() {
5051
PushButton{
5152
Text: "Ok",
5253
OnClicked: func() {
53-
println(strings.Join(outputChoices, ";"))
54+
fmt.Println(strings.Join(outputChoices, ";"))
5455
os.Exit(0)
5556
},
5657
},

0 commit comments

Comments
 (0)