mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: osc-8: open: typo: close previous URL if ‘begin’ coords are *non-negative*
This commit is contained in:
parent
4ff5154cb8
commit
20ff492d33
1 changed files with 1 additions and 1 deletions
|
|
@ -3018,7 +3018,7 @@ term_ime_set_cursor_rect(struct terminal *term, int x, int y, int width,
|
|||
void
|
||||
term_osc8_open(struct terminal *term, uint64_t id, const char *uri)
|
||||
{
|
||||
if (unlikely(term->vt.osc8.begin.row < 0)) {
|
||||
if (unlikely(term->vt.osc8.begin.row >= 0)) {
|
||||
/* It’s valid to switch from one URI to another without
|
||||
* closing the first one */
|
||||
term_osc8_close(term);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue