Browse Source

Tuning renderers

master
Graham Northup 3 years ago
parent
commit
b281a2031d
Signed by: grissess GPG Key ID: 5D000E6F539376FB
  1. 2
      src/world/mod.rs
  2. 3
      src/world/render.rs

2
src/world/mod.rs

@ -109,7 +109,7 @@ impl World {
rs.recenter(ppos);
}
rs.render(&self.region(), &mut render::InvertRenderer, &mut out)?;
rs.render(&self.region(), &mut render::EdgeRenderer, &mut out)?;
let sr = rs.screen_rect();
for eref in self.entities() {
let e = eref.borrow();

3
src/world/render.rs

@ -130,7 +130,8 @@ impl RenderState {
let screen = self.screen_rect();
write!(out, "{}{}",
termion::clear::All,
//termion::clear::All,
"",
termion::cursor::Goto(1, 1),
)?;

Loading…
Cancel
Save