diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-22 13:14:36 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-22 13:37:13 +0200 |
commit | e23fa780cf2fff7146efcd64b2806ce428858b80 (patch) | |
tree | 1c27dc0a50c03bc1d4348d9b96328009e0adce8f /doc/api.md | |
parent | 9386feca5e39b89676dd410f6331553c37434239 (diff) | |
download | chawan-e23fa780cf2fff7146efcd64b2806ce428858b80.tar.gz |
pager: improve hover text handling
* align status truncating behavior with w3m (not exactly, clipping is still different, but this should be fine for now) * add "su" for "show last alert" - w3m's solution here is to scroll one char at a time with "u", but that's extremely annoying to use. We already have a line editor that can navigate lines, so reuse that instead. * fix peekCursor showing empty text * update todo
Diffstat (limited to 'doc/api.md')
-rw-r--r-- | doc/api.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api.md b/doc/api.md index 004b52af..ec41f390 100644 --- a/doc/api.md +++ b/doc/api.md @@ -223,6 +223,11 @@ press again -> URL)</td> </tr> <tr> +<td>`showFullAlert()`</td> +<td>Show the last alert inside the line editor.</td> +</tr> + +<tr> <td>`ask(prompt)`</td> <td>Ask the user for confirmation. Returns a promise which resolves to a boolean value indicating whether the user responded with yes.<br> |