Recognize End/Home keys for editing

This commit is contained in:
Jens Guenther 2019-03-25 16:50:18 +01:00
parent 09b713aa25
commit e856df277c
1 changed files with 6 additions and 0 deletions

View File

@ -1766,6 +1766,12 @@ static char *xreadline(char *prefill, char *prompt)
--len;
}
break;
case KEY_END:
pos = len;
break;
case KEY_HOME:
pos = 0;
break;
default:
break;
}