vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.27k stars 3.52k forks source link

Characters not appearing after upgrading to OS 12.0.1 #6083

Open refeals opened 2 years ago

refeals commented 2 years ago

Issue

My macbook had the automatic updates on unfortunately and some side effects came with it, like having to reinstall git. Hyper was also somehow affected, i can't see any characters that i write although it all still works. I tried uninstalling (draggin icon from Applications to trash can and emptying trash can) and reinstalling (both from .dmg file - as it was the first time - and from brew) several times, this time the latest version. The plugins are still showing so i don't really know how to handle this.

https://user-images.githubusercontent.com/21354244/140162843-dc0afbad-2b91-4b73-b369-69cbc6694e84.mov

This is me typing gibberish and then removing the whole line, then typing cd and selecting one of the options (the window showing the folders are because of Fig)

This does not happen on Mac's terminal nor iTerm2.

TommySorensen commented 2 years ago

Same issue on Intel mac from 2019 (12.0.1 Monterey). Issue happens just by starting it up

image

Martin-Pitt commented 2 years ago

Also have the issue with input not appearing. macOS Monterey 12.0.1 MacBook Pro (16-inch, 2019)

I don't see any overlap in plugins with OP, but here's my .hyper.js

Additionally there's also significant lag or delay when trying to interact with the menu bar, unsure if related.

Basheertome commented 2 years ago

Maybe it's something to do with font support changing? My Verminal plugin was what was triggering my same instance of this issue with the developer error code of: "No valid cmap sub-tables found".

When I removed the font family declaration from the plugin's index.js, the problem was resolved for me.

refeals commented 2 years ago

@Basheertome I can confirm that uninstalling Verminal made the characters work correctly! Can you explain where exactly is it's index.js?

EDIT: Found it in ~/.hyper_plugins/node_modules/verminal/index.js. Simply removed the fontFamily line from defaultConfig and its working!

indygwyn commented 2 years ago

I've had this same problem on my personal Mac and it now just showed up on my work Mac when I updated it to Monterrey. The solution, "remove your Font Family in your settings", works though one of the whole reasons I use Hyper is because of it's support for ligature fonts (Fira Code) and now I have no ligatures in my CLI anymore.

LabhanshAgrawal commented 2 years ago

The fix is merged in xterm, will release once they release it. The font causing the issue is Monaco iirc, you can try and remove just that.

Basheertome commented 2 years ago

Removing the local font family declaration in the plug-in didn’t break the ability to set a custom font globally for Hyper, so that’s what I did to retain my own preferred type.

-Basheer

On Tue, Nov 30 2021 at 12:00, Labhansh Agrawal < @.*** > wrote:

The fix is merged in xterm, will release once they release it. The font causing the issue is Monaco iirc, you can try and remove just that.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub ( https://github.com/vercel/hyper/issues/6083#issuecomment-982973544 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AAFHF357RN53ZYAD4DMT5E3UOUUOLANCNFSM5HJQPODA ).

aedeeley commented 2 years ago

Can also confirm that uninstalling Vermin fixed this issue for me. Also was able to edit the index.js as described and Hyper is now again working as intended. Thanks @Basheertome

LabhanshAgrawal commented 2 years ago

Should be fixed in https://github.com/vercel/hyper/releases/tag/v3.1.5 Can someone please check and reply, I don't have access to OS 12