diff --git a/examples/container.zig b/examples/container.zig index 5276a16..fae411f 100644 --- a/examples/container.zig +++ b/examples/container.zig @@ -48,7 +48,7 @@ pub const InputField = struct { this.queue.push(.{ .send = try this.input.toOwnedSlice() }); if (key.eql(.{ .cp = zterm.input.Backspace }) or key.eql(.{ .cp = zterm.input.Delete }) or key.eql(.{ .cp = zterm.input.KpDelete })) - _ = this.input.popOrNull(); + _ = this.input.pop(); }, else => {}, }