diff options
author | Griffin Smith <root@gws.fyi> | 2019-07-29T01·32-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-07-29T01·32-0400 |
commit | ba7bec9a3e36eaf2af65677b02884172241d1b24 (patch) | |
tree | 4bdd067a2e3ba95564a9d84b409b6c3190afa4a0 /src/entities/character.rs | |
parent | 10fb09eca27991e878bee4a4c63d0ecd6b4a44b3 (diff) |
Re-draw entities when you walk over them
This also required making the noodles character not actually the emoji, since the emoji being double-width means it still gets overwritten when you walk to the right of it (D:)
Diffstat (limited to 'src/entities/character.rs')
-rw-r--r-- | src/entities/character.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/character.rs b/src/entities/character.rs index b917f140e635..b2da47609670 100644 --- a/src/entities/character.rs +++ b/src/entities/character.rs @@ -50,6 +50,6 @@ entity!(Character); impl display::Draw for Character { fn do_draw(&self, out: &mut Write) -> io::Result<()> { - write!(out, "@{}", cursor::Left(1),) + write!(out, "@") } } |