ulyssa / iamb

A Matrix client for Vim addicts
https://iamb.chat
Apache License 2.0
654 stars 46 forks source link

UI freezes while the client sends messages. #359

Open simnalamburt opened 1 month ago

simnalamburt commented 1 month ago

Description: When sending a message, the UI becomes unresponsive. This causes a poor user experience, and it would be better to handle this asynchronously.

Proposal: To improve usability, consider implementing asynchronous processing for message sending.

Additional Context: @ulyssa, I'm willing to work on fixing this issue myself. Could you please provide some guidance on which part of the codebase would be a good starting point?

simnalamburt commented 1 month ago

I’ve noticed that the UI often freezes during various other interactions involving Iamb as well. It might be beneficial to refactor all I/O operations to be handled asynchronously or move them to a dedicated I/O thread.