xonecas.io
79113
Ma

mini-coding-agent / commit d602c3f

fix: fucking agents man, off by one errors after 15 hours of QA....

I'm feeling the AGI...

xonecas2026-10-07 d602c3f35a3547419e519badfa25ac0526aa9f1b parent 2d19a19

1 file changed

src/tui/editor.zig+1−1
@@ -208,8 +208,8 @@ pub const Editor = struct {
208208 cps += 1;
209209 }
210210 var m: usize = 0;
211- while (m < cps) : (m += 1) out.append(self.s, col) catch {};
212211 col += advance;
212+ while (m < cps) : (m += 1) out.append(self.s, col) catch {};
213213 i += cluster.text.len;
214214 }
215215 if (out.items.len == 0) out.append(self.s, 0) catch {};