Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration issue #20

Open
Rinin opened this issue Apr 5, 2017 · 1 comment
Open

Configuration issue #20

Rinin opened this issue Apr 5, 2017 · 1 comment

Comments

@Rinin
Copy link

Rinin commented Apr 5, 2017

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
...

@tomlogic
Copy link
Contributor

Fixed in #21 -- someone should close out this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants