From 6eee677ed4ae63fde651eaf29c9fc6a120b9c83c 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 0bd7c04..b8b6cfb 100644 --- a/src/stream_stdin.rs +++ b/src/stream_stdin.rs @@ -63,9 +63,9 @@ impl App<'_> { 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"); }