From 6317e6c85343f44c14f4f9c86dac19ed0e779783 Mon Sep 17 00:00:00 2001 From: wdvxdr Date: Sat, 16 Oct 2021 13:59:11 +0800 Subject: [PATCH] feat: small qrcode print --- login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login.go b/login.go index 292376b..11ed50a 100644 --- a/login.go +++ b/login.go @@ -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