AutoYADM commit: 2025-05-12 00:52:10

This commit is contained in:
Daniel Fichtinger 2025-05-12 00:52:10 -04:00
parent 4cc2892f14
commit dc8ac7f4cb
2 changed files with 6 additions and 0 deletions

View file

@ -23,3 +23,6 @@ visual_col = col % wrap_width
new_visual_row = visual_row + (-1 if direction == "up" else 1)
if 0 <= new_visual_row < len(chunks):
target_chunk = chunks[new_visual_row]
new_col = min(visual_col, len(target_chunk) - 1)
new_abs_col = new_visual_row * wrap_width + new_col
print(new_abs_col)