stream screen to display

This commit is contained in:
Vinzenz Schroeter 2025-02-12 20:30:27 +01:00
parent 9e299f69f6
commit ef19ab8b3f
8 changed files with 1775 additions and 15 deletions

View file

@ -1,6 +1,6 @@
use std::thread::sleep;
use log::warn;
use servicepoint::*;
use std::thread::sleep;
pub(crate) fn stream_stdin(connection: &Connection, slow: bool) {
warn!("This mode will break when using multi-byte characters and does not support ANSI escape sequences yet.");
@ -8,7 +8,7 @@ pub(crate) fn stream_stdin(connection: &Connection, slow: bool) {
connection,
mirror: CharGrid::new(TILE_WIDTH, TILE_HEIGHT),
y: 0,
slow
slow,
};
app.run()
}