I have radically trimmed down on complexity while still getting some decent UI out of it. I've removed tokio runtime dependency form dreamer code and removed all the RwLocks. Unfortunately not form DC core itself... The gist is to convert long running futures into short lived iterations and let the app loop iterate over it.
Good luck and looking forward to a pure rust DC! :D
Ehm, fixed some issues in dech and I can now send plain text single line messages. I've got to admit I'm very pleased. A terminal DC client is born! Again I suppose...
Hi @dignifiedquire , long time no see. I've been playing with TUI and I got enchanted with your dreamer project.
Days hack result here - https://gitlab.com/BrightOpen/BackYard/termit/-/tree/develop/examples/dech
I have radically trimmed down on complexity while still getting some decent UI out of it. I've removed tokio runtime dependency form dreamer code and removed all the RwLocks. Unfortunately not form DC core itself... The gist is to convert long running futures into short lived iterations and let the app loop iterate over it.
Good luck and looking forward to a pure rust DC! :D