You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In shell.c, when the cursor up/down is entered, clear_prompt will be executed.
if (!__echo) {
clear_prompt(count+4);
} else {
clear_prompt(count);
}
When __echo is off, count+4 characters are cleared, which will cause PROMPT to also be cleared.
I think only count characters need to be cleared. Are there any special considerations?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi,
In shell.c, when the cursor up/down is entered, clear_prompt will be executed.
When
__echo
is off,count+4
characters are cleared, which will cause PROMPT to also be cleared.I think only
count
characters need to be cleared. Are there any special considerations?Thank you.
The text was updated successfully, but these errors were encountered: