From a86909af3c8a0e5401f1ccaa9430781b1e15f7fb Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sun, 2 Mar 2025 15:06:39 +0100 Subject: [PATCH] send stdin as UTF instead of CP437 --- src/stream_stdin.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream_stdin.rs b/src/stream_stdin.rs index 4bf309b..2551b70 100644 --- a/src/stream_stdin.rs +++ b/src/stream_stdin.rs @@ -63,9 +63,9 @@ impl<'t> App<'t> { fn send_mirror(&self) { self.connection - .send(Command::Cp437Data( + .send(Command::Utf8Data( Origin::ZERO, - Cp437Grid::from(&self.mirror), + self.mirror.clone(), )) .expect("couldn't send screen to display"); }