From 20ff492d3341d73c43d0dfbfbb10ea0aac7deeaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 14 Feb 2021 17:12:43 +0100 Subject: [PATCH] =?UTF-8?q?term:=20osc-8:=20open:=20typo:=20close=20previo?= =?UTF-8?q?us=20URL=20if=20=E2=80=98begin=E2=80=99=20coords=20are=20*non-n?= =?UTF-8?q?egative*?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index efd260f1..d9834f9e 100644 --- a/terminal.c +++ b/terminal.c @@ -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);