Calls the two low level functions refreshSingleLine() or * refreshMultiLine() according to the selected mode. */
| 1589 | abAppend(&ab,"\n",1); |
| 1590 | snprintf(seq,64,"\r"); |
| 1591 | abAppend(&ab,seq,strlen(seq)); |
| 1592 | } |
| 1593 | |
| 1594 | /* Move cursor to right position. */ |
| 1595 | rpos2 = (pwidth+poswidth+l->cols)/l->cols; /* Current cursor relative row */ |
| 1596 | lndebug("rpos2 %d", rpos2); |
| 1597 | |
| 1598 | if (linenoiseStatusActive(l)) { |
| 1599 | refreshStatusLine(&ab, l, layout_prompt_row > 0 ? layout_prompt_row + rows : 0); |
no test coverage detected