d99kris / nchat

Terminal-based Telegram / WhatsApp client for Linux and macOS
MIT License
538 stars 41 forks source link

Terminal high CPU usage with latest release #93

Closed Bellavene closed 1 year ago

Bellavene commented 1 year ago

Description: I have installed latest nchat and have noticed that iTerm while running nchat is constantly using 34% of the CPU.

How to reproduce it: Install latest release.

Environment:

d99kris commented 1 year ago

Thanks for reporting the bug! I hadn't noticed it before in my testing, but I can see it now too.

This degrade was probably introduced with commit 0f8ebd4 - will look into how to fix it.

Bellavene commented 1 year ago

No problem, it fixed another bug I had, but was lazy to report. There were text garbage left overs when you change contacts, I think this was caused by emojies, but maybe I am wrong.

Bellavene commented 1 year ago

This commit also messed up with non latin keyboard layouts, while typing on cyrillic, the caret moves far away from the actual place of text insertion.

d99kris commented 1 year ago

This commit also messed up with non latin keyboard layouts, while typing on cyrillic, the caret moves far away from the actual place of text insertion.

Thanks for highlighting. I've reported a separate issue for this (see link above).

d99kris commented 1 year ago

This should be fixed now in above commit. Please let me know if you still encounter any issues.