Switch to new toss commit
This commit is contained in:
parent
11422801b0
commit
93cc2a6c13
12 changed files with 62 additions and 80 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue