Switch to new toss commit

This commit is contained in:
Joscha 2022-07-04 19:40:11 +02:00
parent 11422801b0
commit 93cc2a6c13
12 changed files with 62 additions and 80 deletions

View file

@ -145,7 +145,7 @@ impl Rooms {
};
for x in 0..size.width {
frame.write(Pos::new(x.into(), y), " ", style);
frame.write(Pos::new(x.into(), y), (" ", style));
}
let suffix = if let Some(room) = self.euph_rooms.get(room) {
if room.connected() {
@ -157,7 +157,7 @@ impl Rooms {
""
};
let room_str = format!("&{room}{suffix}");
frame.write(Pos::new(0, y), &room_str, style);
frame.write(Pos::new(0, y), (&room_str, style));
}
}