aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vt.c b/vt.c
index cad4cbcf..bcce4052 100644
--- a/vt.c
+++ b/vt.c
@@ -875,6 +875,7 @@ action(struct terminal *term, enum action _action, uint8_t c)
break;
}
}
+ assert(new_col >= term->cursor.point.col);
term_cursor_right(term, new_col - term->cursor.point.col);
break;
}