DevinR528 / rumatui

WIP Command line Matrix client using matrix-rust-sdk
Apache License 2.0
63 stars 5 forks source link

Create state holder for each widget, move state logic out of widgets #2

Open DevinR528 opened 4 years ago

DevinR528 commented 4 years ago

Have ChatWidget hold state structs for each of the widgets with a nontrivial amount of state.

An example, the MessageWidget holds every known message and filters every render to display only the current rooms messages; this is an extreamly inefficient way of doing it.