We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 ...
The text was updated successfully, but these errors were encountered:
Fixed in #21 -- someone should close out this issue.
Sorry, something went wrong.
No branches or pull requests
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
...
The text was updated successfully, but these errors were encountered: