diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-08 13:17:55 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-08 18:27:12 +0000 |
| commit | bd8c936b00c0f17558d6f96a92e551ffe501e6af (patch) | |
| tree | 8053aa7f81d8f285fb645fcb3894aa7cf391fbe6 | |
| parent | Merge branch 'simplify-parse_section_colors' (diff) | |
term: osc8-open: assert URI in VT struct is NULL
| -rw-r--r-- | terminal.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3070,6 +3070,8 @@ term_osc8_open(struct terminal *term, uint64_t id, const char *uri) term_osc8_close(term); } + xassert(term->vt.osc8.uri == NULL); + term->vt.osc8.begin = (struct coord){ .col = term->grid->cursor.point.col, .row = grid_row_absolute(term->grid, term->grid->cursor.point.row), |
