From caf7a093d50e2fa5e973d5faf8ab3be2b9d7f97f Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sat, 1 Mar 2025 09:12:53 +0900 Subject: [PATCH] chore: update Linenoise.c (#21) colum -> column --- src/common/utils/Linenoise.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/utils/Linenoise.c b/src/common/utils/Linenoise.c index f4b4516..cc0c625 100644 --- a/src/common/utils/Linenoise.c +++ b/src/common/utils/Linenoise.c @@ -587,7 +587,7 @@ static void refreshMultiLine(struct linenoiseState *l, int flags) { int rows = (plen + l->len + l->cols - 1) / l->cols; /* rows used by current buf. */ int rpos = (plen + l->oldpos + l->cols) / l->cols; /* cursor relative row. */ int rpos2; /* rpos after refresh. */ - int col; /* colum position, zero-based. */ + int col; /* column position, zero-based. */ int old_rows = l->oldrows; int fd = l->ofd, j; struct abuf ab; @@ -1331,4 +1331,4 @@ int linenoiseHistoryLoad(const char *filename) { } fclose(fp); return 0; -} \ No newline at end of file +}