Don't always render list cursor

This commit is contained in:
Joscha 2022-07-06 10:18:31 +02:00
parent a03971c019
commit 9f9f68466a
3 changed files with 11 additions and 4 deletions

View file

@ -149,7 +149,7 @@ impl Rooms {
async fn render_rooms(&mut self, frame: &mut Frame) {
let rooms = self.stabilize_rooms().await;
let rows = self.render_rows(rooms).await;
self.list.render(frame, Pos::ZERO, frame.size(), rows);
self.list.render(frame, Pos::ZERO, frame.size(), rows, true);
}
pub async fn handle_key_event(