qrcode-terminal
qrcode-terminal copied to clipboard
QRcode not working in mac terminal
trafficstars
The QR code looks strange in mac terminal, but displays well in iterm. Is it a problem with the display scale or character width?
A screenshot would be useful.
@chaoranwill have you tried using qrcode.generate('...', {small: true})? I've found that this helps normalize the character sizes in iTerm (which are usually a little tall because iTerm has more font options than Terminal.app)
Try changing the font (in Settings) to Menlo... not perfect but a bit better.
Here is a screenshot in the default font for Terminal.app, which is Monaco 12 pt.