Skip to content

Configuration issue #20

@Rinin

Description

@Rinin

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions