emoji width is wrongly displayed

Emoji width is wrong (for example 🔒)

This screenshot shows

hanks for filing an issue! Please answer the questions below so I can help you.

  • iTerm2 version: all of them
  • OS version: tested on sierra and high sierra

Detailed steps to reproduce the problem:

  1. copypaste the emoji
  2. see how bad it looks
  3. open mac terminal to confirm the issue is iterm-specificScreen_Shot_2017-11-21_at_12.12.40

What happened:

emojis width is not honored

What should have happened:

emojis should be displayed one after the other like the mac terminal does.

this issue is not reproducible inside vim, only in the bash and r2 shells (didnt tested other shells)