1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 19:43:49 +08:00

feat: small qrcode print

This commit is contained in:
wdvxdr 2021-10-16 13:59:11 +08:00
parent 029d3a2c18
commit 6317e6c853
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6

View File

@ -70,7 +70,7 @@ func qrcodeLogin() error {
log.Infof("请使用手机QQ扫描二维码 (qrcode.png) : ")
}
time.Sleep(time.Second)
qrcodeTerminal.New().Get(fi.Content).Print()
qrcodeTerminal.New2(qrcodeTerminal.ConsoleColors.BrightBlack, qrcodeTerminal.ConsoleColors.BrightWhite, qrcodeTerminal.QRCodeRecoveryLevels.Low).Get(fi.Content).Print()
s, err := cli.QueryQRCodeStatus(rsp.Sig)
if err != nil {
return err