vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 962974396fb576efddaf88c387fed6331aeac11e parent 13cf3b3a2c239d40f921eca08743e7d44d06b16b Author: Randy Palamar <palamar@ualberta.ca> Date: Thu, 24 Aug 2023 21:08:35 -0600 lua api: fix a couple typos in process_response() documentation I thought I fixed these in the applied patch but I guess they slipped by Diffstat:
| M | vis-lua.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vis-lua.c b/vis-lua.c @@ -3597,8 +3597,8 @@ void vis_lua_term_csi(Vis *vis, const long *csi) { * @function process_response * @tparam string name the name of process given to @{Vis:communicate} * @tparam string response_type can be "STDOUT" or "STDERR" if new output was received in corresponding channel, "SIGNAL" if the process was terminated by a signal or "EXIT" when the process terminated normally - * @tparam int the exit code number if response\_type is "EXIT", or the signal number if response\_type is "SIGNAL" - * @tparam string buffer the available content sent by process + * @tparam int code the exit code number if response_type is "EXIT", or the signal number if response_type is "SIGNAL" + * @tparam string buffer the available content sent by the process */ void vis_lua_process_response(Vis *vis, const char *name, char *buffer, size_t len, ResponseType rtype) {