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/select.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/local/select.nim b/src/local/select.nim
index 9a04f000..c6d62f5d 100644
--- a/src/local/select.nim
+++ b/src/local/select.nim
@@ -72,6 +72,12 @@ proc cursorUp(select: Select) {.jsfunc.} =
   elif select.multiple and select.cursor > -1:
     select.cursor = -1
 
+proc cursorPrevLink(select: Select) {.jsfunc.} =
+  select.cursorUp()
+
+proc cursorNextLink(select: Select) {.jsfunc.} =
+  select.cursorDown()
+
 proc cancel(select: Select) {.jsfunc.} =
   select.finishImpl(select.opaque, select, srCancel)