Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Accented characters not working #158

Open
aisneto opened this issue Apr 27, 2023 · 3 comments
Open

[Bug] Accented characters not working #158

aisneto opened this issue Apr 27, 2023 · 3 comments
Labels
accepted Requirement understood and waiting implementation. bug Something isn't working

Comments

@aisneto
Copy link

aisneto commented Apr 27, 2023

Firstly, I would like to thank you for this great project.

I'm having problems typing accented characters such as "é", "ã", or "ô" using a PT-BR keyboard (the layout is named "ABNT2"). I can type those characters by repeatedly pressing the accent key + letter key in rapid succession, but even this way, I only get maybe two correct letters out of ten. Attempting to type at a normal speed has failed to produce even a single letter correctly. This issue occurs in both Insert and Resident modes, requiring me to completely exit the application when I need to type in Portuguese.

Steps to reproduce:

1- Simply attempt to type an accented character using a Portuguese keyboard layout such as ABNT2. To obtain an accented character under normal circumstances, you only need to press the accent key and the letter key in succession.

Environments

Windows 10 Home Edition
Version 22h2
Build 19045.2846
64bits
win-vind v 5.0.2
Installed by winget

@aisneto
Copy link
Author

aisneto commented Apr 28, 2023

So, I tried to program some macros in insert mode using "imap" to access the accented characters. However, when I put any of those in an external macro in my .vindrc (e.g. imap <alt><alt> {é}), win-vind crashes:
image

@pit-ray
Copy link
Owner

pit-ray commented Apr 29, 2023

I am trying to reproduce this issue.

@pit-ray pit-ray added the bug Something isn't working label Aug 12, 2023
@pit-ray
Copy link
Owner

pit-ray commented Aug 15, 2023

If you can't type accented characters just by running win-vind, then the problem may be similar to #187. Perhaps the delay is caused by the processing speed of the low-level keyboard hook.

The imap crash was fixed in #78, #151.

@pit-ray pit-ray added the accepted Requirement understood and waiting implementation. label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Requirement understood and waiting implementation. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants