From be0ae44ae362a4855ccf4d453ceeaef91f9ea460 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Fri, 5 Dec 2025 04:25:02 -0300 Subject: codecrafters submit [skip ci] --- src/main.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.zig b/src/main.zig index 6922764..04d2026 100644 --- a/src/main.zig +++ b/src/main.zig @@ -74,6 +74,9 @@ fn readCommand(allocator: std.mem.Allocator) !?[]const u8 { try stdout.writeAll(" "); try buffer.appendSlice(allocator, remaining); try buffer.append(allocator, ' '); + } else { + // No completion found, ring the bell + try stdout.writeAll("\x07"); } } } else if ((c == 127 or c == 8) and is_tty) { -- cgit v1.2.3