summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.zig3
1 files changed, 3 insertions, 0 deletions
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) {