Calls the two low level functions refreshSingleLine() or * refreshMultiLine() according to the selected mode. */
| 2442 | /* Calls the two low level functions refreshSingleLine() or |
| 2443 | * refreshMultiLine() according to the selected mode. */ |
| 2444 | static void refreshLine(struct linenoiseState* l) { |
| 2445 | if (mlmode) |
| 2446 | refreshMultiLine(l); |
| 2447 | else |
| 2448 | refreshSingleLine(l); |
| 2449 | } |
| 2450 | |
| 2451 | static void highlightSearchMatch(char* buffer, char* resultBuf, const char* search_buffer) { |
| 2452 | const char* matchUnderlinePrefix = "\033[4m"; |
no test coverage detected