term: osc8-open: assert URI in VT struct is NULL

This commit is contained in:
Daniel Eklöf 2021-05-08 15:17:55 +02:00
parent 758a36dac1
commit bd8c936b00
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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),