Hyper: Hyperterm 0.2.1 cursor issue

Created on 4 Jul 2016  路  11Comments  路  Source: vercel/hyper

Hi!

In the last update the cursor has an issue, it's not aligned with the _input line_:
screen shot 2016-07-03 at 20 17 33
screen shot 2016-07-03 at 20 19 50

Also, there is a scrollbar by default

馃憖 Awaiting Response

Most helpful comment

Fixed in Hyper 1.0.0
image

All 11 comments

Having the same issue with the scrollbar, and cursor alignment is way out for me!
image

@montogeek @WoodyWoodsta unless I'm missing something, we'll have to dig into hterm :)

Please retry with 0.3.1.

@rauchg It didn't improved. You don't have this issue?
screen shot 2016-07-05 at 16 37 17

Not at all. It seems like a character width miscalculation issue that results in overflow. Can you try removing the emojis ?

@WoodyWoodsta's issue has to do with line calculation but in his case is lack of monospace font. For some reason he doesn't have Menlo (I'm very very curious why), but we should be falling back to another font now and his issue is probably gone.

@rauchg Alignment fixed for me:
image

@rauchg Removing the emojis fixed the issue

Also, I have Menlo font installed
screen shot 2016-07-15 at 12 15 18

I get the same problem with a font with ligatures (my example is Meslo for Powerline. It has an 'fi' ligature:

image

Atom had this same problem, which they solved by measuring (unfortunate, but necessary, it seems): http://blog.atom.io/2015/10/29/atom-1-1-is-out.html#new-approach-to-character-measurement

There's a css property to disable ligatures. That completely disables them. I guess that's safe to use in latin languages. Not sure about other ones.

    termCSS: `
      * {
        font-feature-settings: 'liga' 0;
      }
    `,

Fixed in Hyper 1.0.0
image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eoinmurray picture eoinmurray  路  3Comments

juicygoose picture juicygoose  路  3Comments

cooperpellaton picture cooperpellaton  路  3Comments

stan-stripe picture stan-stripe  路  3Comments

laur1s picture laur1s  路  3Comments