aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorcommodorian <c@commodorian.org>2024-11-22 23:57:52 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-23 12:41:29 +0100
commit92374202eeb7781b3bcf4f70ad131f0063e19134 (patch)
tree0a89a2c79d665b31d75d140b89e5d338ab60b1d3 /doc
parent6e7cae47b2037860f53d4ae90d37a91d8b29906b (diff)
downloadchawan-92374202eeb7781b3bcf4f70ad131f0063e19134.tar.gz
container: add Lynx-style navigation commands
Diffstat (limited to 'doc')
-rw-r--r--doc/api.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/api.md b/doc/api.md
index 54bfb7d6..d0c00b1d 100644
--- a/doc/api.md
+++ b/doc/api.md
@@ -373,6 +373,13 @@ element.</td>
</tr>
<tr>
+<td>`cursorLinkNavDown(n = 1)`, `cursorLinkNavUp(n = 1)`</td>
+<td>Move the cursor to the beginning of the next/previous clickable element.
+Buffer scrolls pagewise, wrap to beginning/end if content is less than one page
+length.</td>
+</tr>
+
+<tr>
<td>`cursorNextParagraph(n = 1)`, `cursorPrevParagraph(n = 1)`</td>
<td>Move the cursor to the beginning/end of the nth next/previous
paragraph.</td>