diff --git a/src/Window.zig b/src/Window.zig index 55e4346..3a71654 100644 --- a/src/Window.zig +++ b/src/Window.zig @@ -232,7 +232,7 @@ pub fn print(self: Window, segments: []Segment, opts: PrintOptions) !bool { /// prints text in the window with simple word wrapping. pub fn wrap(self: Window, segments: []Segment) !void { - return self.print(segments, .{ .wrap = .word }); + _ = try self.print(segments, .{ .wrap = .word }); } test "Window size set" {