qrcode-terminal icon indicating copy to clipboard operation
qrcode-terminal copied to clipboard

QRcode not working in mac terminal

Open chaoranwill opened this issue 5 years ago • 4 comments

The QR code looks strange in mac terminal, but displays well in iterm. Is it a problem with the display scale or character width?

chaoranwill avatar Jul 16 '19 03:07 chaoranwill

A screenshot would be useful.

specious avatar Jul 16 '19 11:07 specious

@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)

cwervo avatar Oct 26 '19 08:10 cwervo

Try changing the font (in Settings) to Menlo... not perfect but a bit better.

mepster avatar Apr 28 '20 00:04 mepster

Screen Shot 2020-04-27 at 5 40 11 PM Here is a screenshot in the default font for Terminal.app, which is Monaco 12 pt.

mepster avatar Apr 28 '20 00:04 mepster