diff options
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,6 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <assert.h> #include <errno.h> #if defined(_DEBUG) @@ -16,6 +15,7 @@ #define LOG_ENABLE_DBG 0 #include "log.h" #include "config.h" +#include "debug.h" #include "grid.h" #include "selection.h" #include "sixel.h" @@ -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; |
