This commit is contained in:
2026-04-13 19:45:58 +01:00
parent 037f884050
commit 013bffcad9
7 changed files with 16 additions and 5 deletions

View File

@@ -35,8 +35,8 @@ struct VisualIterator {
std::stack<std::pair<Coord, Coord>> prev_stack;
VisualIterator(Knot *root, Coord pos, uint32_t width)
: it(begin_l_iter(root, pos.row)), offset(pos.col),
line_index(pos.row - 1), render_width(width) {}
: it(begin_l_iter(root, pos.row)), line_index(pos.row - 1),
offset(pos.col), render_width(width) {}
std::pair<Coord, Coord> prev() {
if (!it)