about summary refs log tree commit diff stats
path: root/doc/config.md
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-07-26 00:00:54 +0200
committerbptato <nincsnevem662@gmail.com>2023-07-26 00:00:54 +0200
commit32abf37be768dd8dc831c5226bb974420c24ffd5 (patch)
treee836d233ce5bbb266fedf18b53267f572e3f79d2 /doc/config.md
parentab7545d90ea7d45764d8358c32f719f40a050cda (diff)
downloadchawan-32abf37be768dd8dc831c5226bb974420c24ffd5.tar.gz
Add suspend() function (bound to C-z)
Diffstat (limited to 'doc/config.md')
-rw-r--r--doc/config.md22
1 files changed, 20 insertions, 2 deletions
diff --git a/doc/config.md b/doc/config.md
index ccaa64ab..15b5a071 100644
--- a/doc/config.md
+++ b/doc/config.md
@@ -498,7 +498,7 @@ escape to the keybinding respectively (essentially making `M-` the same as
 An action is a JavaScript function called by Chawan every time the keybinding
 is typed in. A list of built-in pager functions can be found below.
 
-### Pager actions
+### Browser actions
 
 <table>
 
@@ -508,11 +508,29 @@ is typed in. A list of built-in pager functions can be found below.
 </tr>
 
 <tr>
-<td>`pager.quit()`</td>
+<td>`quit()`</td>
 <td>Exit the browser.</td>
 </tr>
 
 <tr>
+<td>`suspend()`</td>
+<td>Temporarily suspend the browser (by delivering the client process a
+SIGSTOP signal.)<br>
+Note: this does not suspend buffer processes.
+</tr>
+
+</table>
+
+### Pager actions
+
+<table>
+
+<tr>
+<th>**Name**</th>
+<th>**Function**</th>
+</tr>
+
+<tr>
 <td>`pager.cursorUp()`</td>
 <td>Move the cursor to the previous line.</td>
 </tr>