You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone.
fmt.scanf does not work properly with air. When pressing enter after the data it only enters new line but does not do the input. I tried it with integers and strings. When interrupting air and running it with go run it does work.
OS: MX Linux 21.3
Go version: 1.19.2
Thanks and Regards.
var n int
fmt.Printf("n: ")
fmt.Scanf("%d", &n)
fmt.Println("n:", n)
The text was updated successfully, but these errors were encountered:
Hello everyone.
fmt.scanf does not work properly with
air
. When pressing enter after the data it only enters new line but does not do the input. I tried it with integers and strings. When interrupting air and running it withgo run
it does work.OS: MX Linux 21.3
Go version: 1.19.2
Thanks and Regards.
The text was updated successfully, but these errors were encountered: