summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/lib/types.zig6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cmd/lib/types.zig b/src/cmd/lib/types.zig
index f6a32c0..57d370d 100644
--- a/src/cmd/lib/types.zig
+++ b/src/cmd/lib/types.zig
@@ -91,10 +91,8 @@ pub const StdinInputReader = struct {
};
if (line) |input| {
- // Check for Ctrl+Z (EOF marker) - ASCII 26 or ^Z text
- if ((input.len == 1 and input[0] == 26) or
- (input.len == 2 and input[0] == '^' and input[1] == 'Z'))
- {
+ // Check for Ctrl+Z (EOF marker) - ASCII 26
+ if (input.len == 1 and input[0] == 26) {
allocator.free(input);
return null; // EOF
}