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 +}