mirror of
https://github.com/deepseek-ai/3FS
synced 2025-05-11 16:10:35 +00:00
parent
f84e609692
commit
caf7a093d5
@ -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 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 rpos = (plen + l->oldpos + l->cols) / l->cols; /* cursor relative row. */
|
||||||
int rpos2; /* rpos after refresh. */
|
int rpos2; /* rpos after refresh. */
|
||||||
int col; /* colum position, zero-based. */
|
int col; /* column position, zero-based. */
|
||||||
int old_rows = l->oldrows;
|
int old_rows = l->oldrows;
|
||||||
int fd = l->ofd, j;
|
int fd = l->ofd, j;
|
||||||
struct abuf ab;
|
struct abuf ab;
|
||||||
@ -1331,4 +1331,4 @@ int linenoiseHistoryLoad(const char *filename) {
|
|||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user