Closed strct closed 4 years ago
Added a 10s gif with the crash, just typed a character (e.g. c) into the Send
box.
Would not doing anything be acceptable, as in if there is no room selected the input would be ignored?
Thanks for the detailed issue I'm glad you got it working, out of curiosity and because of another issue how did you install it and what OS are you using?
I created a PR if you want to check it out https://github.com/DevinR528/rumatui/pull/8
Thanks for fixing it so quickly :). I'm using Ubuntu 20.04, (obs for recording and kdenlive to edit the video and convert to gif). I used cargo install --git https://github.com/DevinR528/rumatui
to install it, but now I cloned the repository and run it with cargo run
.
I agree that doing nothing is okay when no room is selected.
Panic when entering a character in the message box and no room is active (happend after loggin in on just created user on a conduit server)
https://github.com/DevinR528/rumatui/blob/4c408570338d54e9652dfb0017f29c386b13823c/src/widgets/message/msgs.rs#L459-L464