diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-14 10:07:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-14 10:07:12 +0000 |
| commit | 7480c1c06be0039e6b3bd019e6db9d118b964f05 (patch) | |
| tree | 596db778dd1a7f8cf7d463f80e2255a58a34a42b | |
| parent | term: print: manually increment cursor column (diff) | |
term: remove assert, as we're already checking for this in the loop condition
| -rw-r--r-- | terminal.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2419,7 +2419,6 @@ term_print(struct terminal *term, wchar_t wc, int width) /* Advance cursor the 'additional' columns while dirty:ing the cells */ for (int i = 1; i < width && term->grid->cursor.point.col < term->cols - 1; i++) { term->grid->cursor.point.col++; - assert(term->grid->cursor.point.col < term->cols); struct cell *cell = &row->cells[term->grid->cursor.point.col]; cell->wc = 0; |
