summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-08 17:17:35 -0400
committerpommicket <pommicket@gmail.com>2023-09-08 17:18:51 -0400
commit100859239a28c2709bb3e2cdce347300a2b763e2 (patch)
treeb45486fe7c2a3318d9702adbe17ce17b672a78d1 /buffer.c
parent49f22fb75ae7ec5ffa98532c060d81e18d71575c (diff)
LSP over TCP initial draft
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 7c0e481..549a99e 100644
--- a/buffer.c
+++ b/buffer.c
@@ -3374,7 +3374,8 @@ void buffer_render(TextBuffer *buffer, Rect r) {
hover_diagnostic = diagnostic;
if (diagnostic->url && ted_clicked_in_rect(ted, rect))
open_with_default_application(diagnostic->url);
- ted->cursor = ted->cursor_hand;
+ if (diagnostic->url)
+ ted->cursor = ted->cursor_hand;
}
}
// set color