about summary refs log tree commit diff stats
path: root/doc/api.md
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-09-22 13:14:36 +0200
committerbptato <nincsnevem662@gmail.com>2024-09-22 13:37:13 +0200
commite23fa780cf2fff7146efcd64b2806ce428858b80 (patch)
tree1c27dc0a50c03bc1d4348d9b96328009e0adce8f /doc/api.md
parent9386feca5e39b89676dd410f6331553c37434239 (diff)
downloadchawan-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.md5
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>
Anselm R. Garbe <arg@suckless.org> 2007-02-24 15:40:50 +0100 committer Anselm R. Garbe <arg@suckless.org> 2007-02-24 15:40:50 +0100 prepared 3.7, ready to rambo' href='/acidbong/suckless/dwm/commit/config.default.h?h=5.3.1&id=12280f0253407827c9eba288df29ca669d2053bd'>12280f0 ^
e9a0733 ^
34e7872 ^
fe2775a ^
0235a84 ^
fa857b2 ^
0235a84 ^


f196b71 ^
3794c62 ^
f196b71 ^
8d1810c ^
6f60b2e ^
8d1810c ^
fe2775a ^
0235a84 ^


3794c62 ^

f196b71 ^

e9a0733 ^


308f95a ^
e9a0733 ^






5f19423 ^
d66ad14 ^
e9a0733 ^










































b515765 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93