about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/local/container.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/local/container.nim b/src/local/container.nim
index 73dfba49..edb1f992 100644
--- a/src/local/container.nim
+++ b/src/local/container.nim
@@ -1495,6 +1495,12 @@ proc peekCursor(container: Container) {.jsfunc.} =
   else:
     container.lastpeek = low(HoverType)
 
+func hoverLink(container: Container): string {.jsfget.} =
+  return container.hovertext[HOVER_LINK]
+
+func hoverTitle(container: Container): string {.jsfget.} =
+  return container.hovertext[HOVER_TITLE]
+
 proc handleCommand(container: Container) =
   var packetid, len: int
   container.iface.stream.sread(len)