From d824ae0b1132cf95389ab1fd9194995e34eaea11 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 19 Apr 2025 10:58:27 +0200 Subject: [PATCH] i9e: Improve documentation of i9e_completion_info(). Emphasize that ->word is *not* the same as ->argv[i], where i is the index of the current word. --- interactive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactive.h b/interactive.h index 6ef7f8e2..1dbaaddb 100644 --- a/interactive.h +++ b/interactive.h @@ -7,7 +7,7 @@ /** Structure passed as input to the completers. */ struct i9e_completion_info { char *buffer; /**< The full line. */ - char *word; /**< The word the cursor is in. */ + char *word; /**< The (partial) word the cursor is in. */ int point; /**< Cursor position. */ char **argv; /**< Vector of words in \a buffer. */ int argc; /**< Number of elements(words) in argv. */ -- 2.39.5