NStefan002 / screenkey.nvim

Screencast your keys in Neovim
MIT License
291 stars 5 forks source link

Some characters return in bytes #37

Closed frvnzj closed 1 month ago

frvnzj commented 1 month ago

Problem

I'm user with keyboard in spanish, so I use keys like “ñ”, accents or greek alphabet. «Screenkey».set_lines of this characters in bytes.

imagen

Expected behavior

I hope «Screenkey» can print unicode characters correctly. imagen

NStefan002 commented 1 month ago

Hi, thanks for reporting this! Do you mind checking out the dev branch and testing if the latest commit fixed your problem? If you're using lazy.nvim, you can do that via this snippet:

{
    "NStefan002/screenkey.nvim",
    lazy = false,
    branch = "dev"
}
frvnzj commented 1 month ago

PERFECT! AWESOME! display unicode :3 thanks!

NStefan002 commented 1 month ago

I released this fix, you can now use version = "*" in your lazy config. Closing.