turns out anime_telnet requires color continuity across lines
This commit is contained in:
parent
04dcb36641
commit
f01e1d4cd9
|
@ -126,7 +126,7 @@ impl RetroCallbacks for AnsiVideoComponent {
|
|||
let processed = processor.process(&rgba_img).into_iter().next().unwrap().1;
|
||||
write!(self.screen, "{}", termion::cursor::Goto(1, 1)).unwrap();
|
||||
for line in self.encode_frame(&processed).lines() {
|
||||
write!(self.screen, "{}{}\r\n", line, termion::color::Fg(termion::color::Black)).unwrap();
|
||||
write!(self.screen, "{}\r\n", line).unwrap();
|
||||
}
|
||||
write!(self.screen, "\x1B[0m").unwrap();
|
||||
self.screen.flush().unwrap();
|
||||
|
|
Loading…
Reference in a new issue