this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

tty: add todo for incomplete parsing

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>

+3 -1
+3 -1
src/Tty.zig
··· 133 133 while (start < n) { 134 134 const result = try parser.parse(buf[start..n]); 135 135 start = result.n; 136 - log.debug("something {}", .{result}); 136 + // TODO: if we get 0 byte read, copy the remaining bytes to the 137 + // beginning of the buffer and read mmore? 138 + 137 139 const event = result.event orelse continue; 138 140 switch (event) { 139 141 .key_press => |key| {