cosmetics

This commit is contained in:
Unrud 2018-09-30 00:26:33 +02:00
parent 1ddfffa843
commit 88339bf3f2
5 changed files with 9 additions and 9 deletions

4
qr.go
View file

@ -33,7 +33,7 @@ func qrCodeToString(bits [][]bool, colorize bool) string {
s := ""
for y := -1; y < len(bits); y += 2 {
if colorize {
s += terminalForegroundWhite + terminalBackgroundBlack
s += TerminalForegroundWhite + TerminalBackgroundBlack
}
for x := range bits[0] {
upper := false
@ -55,7 +55,7 @@ func qrCodeToString(bits [][]bool, colorize bool) string {
}
}
if colorize {
s += terminalForegroundReset + terminalBackgroundReset
s += TerminalForegroundReset + TerminalBackgroundReset
}
s += "\n"
}