diff --git a/DroneShell/include/linenoise.hpp b/DroneShell/include/linenoise.hpp index 6f8cfd2154..599e3fe7de 100644 --- a/DroneShell/include/linenoise.hpp +++ b/DroneShell/include/linenoise.hpp @@ -1868,7 +1868,7 @@ inline void refreshMultiLine(struct linenoiseState *l) { int rows = (pcolwid+colpos+l->cols-1)/l->cols; /* rows used by current buf. */ int rpos = (pcolwid+l->oldcolpos+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 = (int)l->maxrows; int fd = l->ofd, j; std::string ab; @@ -1916,7 +1916,7 @@ inline void refreshMultiLine(struct linenoiseState *l) { /* Move cursor to right position. */ rpos2 = (pcolwid+colpos2+l->cols)/l->cols; /* current cursor relative row. */ - /* Go up till we reach the expected positon. */ + /* Go up till we reach the expected position. */ if (rows-rpos2 > 0) { snprintf(seq,64,"\x1b[%dA", rows-rpos2); ab += seq;