MCPcopy Create free account
hub / github.com/antirez/ds4 / refreshLine

Function refreshLine

linenoise.c:1599–1601  ·  view source on GitHub ↗

Utility function to avoid specifying REFRESH_ALL all the times. */

Source from the content-addressed store, hash-verified

1597
1598 if (linenoiseStatusActive(l)) {
1599 refreshStatusLine(&ab, l, layout_prompt_row > 0 ? layout_prompt_row + rows : 0);
1600 }
1601
1602 /* Set column. */
1603 col = (pwidth+poswidth) % l->cols;
1604 if (layout_prompt_row > 0) {

Callers 13

completeLineFunction · 0.85
linenoiseEditClearFunction · 0.85
linenoiseEditInsertFunction · 0.85
linenoiseEditMoveLeftFunction · 0.85
linenoiseEditMoveRightFunction · 0.85
linenoiseEditMoveHomeFunction · 0.85
linenoiseEditMoveEndFunction · 0.85
linenoiseEditHistoryNextFunction · 0.85
linenoiseEditDeleteFunction · 0.85
linenoiseEditBackspaceFunction · 0.85
linenoiseEditPasteFunction · 0.85

Calls 1

refreshLineWithFlagsFunction · 0.85

Tested by

no test coverage detected