widgets(textinput): remove log line

This commit is contained in:
Tim Culverhouse 2024-04-04 20:34:08 -05:00
parent 310bff369b
commit e92498002e

View file

@ -130,7 +130,6 @@ pub fn draw(self: *TextInput, win: Window) void {
if (self.cursor_idx < self.draw_offset) self.draw_offset = self.cursor_idx; if (self.cursor_idx < self.draw_offset) self.draw_offset = self.cursor_idx;
while (true) { while (true) {
const width = self.widthToCursor(win); const width = self.widthToCursor(win);
log.debug("WIDTH TO CURSOR {d}, win.width {d}", .{ width, win.width });
if (width >= win.width) { if (width >= win.width) {
self.draw_offset +|= width - win.width + 1; self.draw_offset +|= width - win.width + 1;
continue; continue;