1
0
Fork 0

Moving to begining of line respectively end of line is fixed

This commit is contained in:
Esteban Lombeyda 2014-03-31 16:09:52 +02:00
parent f6f8281f7e
commit 22545acbf6
1 changed files with 2 additions and 0 deletions

View File

@ -1874,11 +1874,13 @@ history_navigation:
break;
case ctrl('A'): /* Ctrl+a, go to the start of the line */
case SPECIAL_HOME:
eraseEol(current);
current->pos = 0;
refreshLine(current->prompt, current);
break;
case ctrl('E'): /* ctrl+e, go to the end of the line */
case SPECIAL_END:
eraseEol(current);
current->pos = current->chars;
refreshLine(current->prompt, current);
break;