send stdin as UTF instead of CP437
Some checks failed
Rust / build (pull_request) Failing after 2m8s

This commit is contained in:
Vinzenz Schroeter 2025-03-02 15:06:39 +01:00
parent 61261791f7
commit 08b26de45e

View file

@ -63,9 +63,9 @@ impl<'t> App<'t> {
fn send_mirror(&self) { fn send_mirror(&self) {
self.connection self.connection
.send(Command::Cp437Data( .send(Command::Utf8Data(
Origin::ZERO, Origin::ZERO,
Cp437Grid::from(&self.mirror), self.mirror.clone(),
)) ))
.expect("couldn't send screen to display"); .expect("couldn't send screen to display");
} }