diff options
author | bptato <nincsnevem662@gmail.com> | 2024-06-24 18:28:06 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-06-24 18:28:06 +0200 |
commit | 43ea49c215c85925b8a4eb8661a37fc71c521cfd (patch) | |
tree | efcca78216b2c2c6361925c94415b728afb604cd /doc/cha-api.5 | |
parent | 34690f5ba45c5d67f8a59ecb09c40da07481c40f (diff) | |
download | chawan-43ea49c215c85925b8a4eb8661a37fc71c521cfd.tar.gz |
doc: update manpages
Diffstat (limited to 'doc/cha-api.5')
-rw-r--r-- | doc/cha-api.5 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/cha-api.5 b/doc/cha-api.5 index 5ffdf460..66088fa9 100644 --- a/doc/cha-api.5 +++ b/doc/cha-api.5 @@ -1,5 +1,5 @@ '\" t -.\" Automatically generated by Pandoc 3.1.13 +.\" Automatically generated by Pandoc 3.2 .\" .TH "cha\-api" "5" "" "" "Chawan\[cq]s command API" .SH Chawan\[cq]s command API @@ -140,12 +140,13 @@ Duplicate the current buffer by loading its source to a new buffer. T}@T{ T} T{ -\f[CR]discardBuffer()\f[R] +\f[CR]discardBuffer(buffer = pager.buffer, dir = pager.navDirection)\f[R] T}@T{ -Discard the current buffer, and move back to its previous sibling -buffer, or if that doesn\[cq]t exist, to its parent. -If the current buffer is a root buffer (i.e.\ it has no parent), move to -the next sibling buffer instead. +Discard \f[CR]buffer\f[R], then move back to the buffer opposite to +\f[CR]dir\f[R]. +Possible values of \f[CR]dir\f[R] are: \[lq]prev\[rq], \[lq]next\[rq], +\[lq]prev\-sibling\[rq], \[lq]next\-sibling\[rq], \[lq]parent\[rq], +\[lq]first\-child\[rq], \[lq]any\[rq]. T}@T{ T} T{ |