-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
microrl.c 361 seems should be moved to microrl.c 371
And whole hist_search() part should be covered with additional
#ifdef _USE_HISTORY
Suggestion:
...
#ifdef _USE_HISTORY
static void hist_search (microrl_t * pThis, int dir)
{
int len = hist_restore_line (&pThis->ring_hist, pThis->cmdline, dir);
if (len >= 0) {
pThis->cursor = pThis->cmdlen = len;
terminal_reset_cursor (pThis);
terminal_print_line (pThis, 0, pThis->cursor);
}
}
#endif
#ifdef _USE_ESC_SEQ
...
Metadata
Metadata
Assignees
Labels
No labels