diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2021-01-16 20:16:00 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2021-01-16 20:16:00 +0000 |
| commit | e56136ce1192d04a52b01ccb41284f0b7896430e (patch) | |
| tree | 10948eb4aface28e80d6a075fecf11fad3075618 /csi.c | |
| parent | Print stack trace on assert() failure or when calling fatal_error() (diff) | |
debug: rename assert() to xassert(), to avoid clashing with <assert.h>
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1083,7 +1083,7 @@ csi_dispatch(struct terminal *term, uint8_t final) break; } } - assert(new_col >= term->grid->cursor.point.col); + xassert(new_col >= term->grid->cursor.point.col); term_cursor_right(term, new_col - term->grid->cursor.point.col); } break; @@ -1099,7 +1099,7 @@ csi_dispatch(struct terminal *term, uint8_t final) break; } } - assert(term->grid->cursor.point.col >= new_col); + xassert(term->grid->cursor.point.col >= new_col); term_cursor_left(term, term->grid->cursor.point.col - new_col); } break; |
