···1818// Index of our cursor
1919buf: Buffer,
20202121+/// Style to draw the TextField with
2222+style: vaxis.Style = .{},
2323+2124/// the number of graphemes to skip when drawing. Used for horizontal scrolling
2225draw_offset: u16 = 0,
2326/// the column we placed the cursor the last time we drew
···211214 .{ .width = max_width, .height = @max(ctx.min.height, 1) },
212215 );
213216214214- const base: vaxis.Cell = .{ .style = .{} };
217217+ const base: vaxis.Cell = .{ .style = self.style };
215218 @memset(surface.buffer, base);
216219 const style: vaxis.Style = .{};
217220 const cursor_idx = self.graphemesBeforeCursor();