Skip to content

Commit

Permalink
chore: update Linenoise.c (#21)
Browse files Browse the repository at this point in the history
colum -> column
  • Loading branch information
eltociear authored Mar 1, 2025
1 parent f84e609 commit caf7a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/utils/Linenoise.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1331,4 +1331,4 @@ int linenoiseHistoryLoad(const char *filename) {
}
fclose(fp);
return 0;
}
}

0 comments on commit caf7a09

Please sign in to comment.