From 465c01e403c667c2bf1f4f5c346a6c83c63dabae Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Thu, 23 May 2024 15:41:59 -0500 Subject: [PATCH] chore: remove TODO from tty --- src/Tty.zig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Tty.zig b/src/Tty.zig index 30e6afd..5523f5a 100644 --- a/src/Tty.zig +++ b/src/Tty.zig @@ -163,11 +163,6 @@ pub fn run( } read_start = 0; start += result.n; - // TODO: if we get 0 byte read, copy the remaining bytes to the - // beginning of the buffer and read mmore? this should only happen - // if we are in the middle of a grapheme at and filled our - // buffer. Probably can happen on large pastes so needs to be - // implemented but low priority const event = result.event orelse continue; switch (event) {