diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-14 16:12:43 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-21 19:15:31 +0000 |
| commit | 20ff492d3341d73c43d0dfbfbb10ea0aac7deeaf (patch) | |
| tree | f0ef733c3baaf333e737346bf1461b0bb3b0daf5 /terminal.c | |
| parent | config: change default key binding for toggle-url-visible to ‘t’ (diff) | |
term: osc-8: open: typo: close previous URL if ‘begin’ coords are *non-negative*
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 2 |
1 files changed, 1 insertions, 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); |
