mdp / qrterminal

QR Codes in your terminal
MIT License
442 stars 53 forks source link

different between GoLand and Terminal #11

Closed yangboz closed 6 years ago

yangboz commented 6 years ago

see output in GoLand console, not working: image ,but output in Terminal, it works: image

Thanks.

yangboz commented 6 years ago

So, in the GoLand Terminal , I changed to use this config, problem fixed up.

 config := qrterminal.Config{
   Level: qrterminal.L,
   Writer: os.Stdout,
   BlackChar: qrterminal.WHITE,
   WhiteChar: qrterminal.BLACK,
   QuietZone: 1,
  }
  qrterminal.GenerateWithConfig("url", config)