mirror of
https://github.com/jarun/nnn.git
synced 2025-10-08 21:26:03 +00:00
Recognize End/Home keys for editing
This commit is contained in:
parent
09b713aa25
commit
e856df277c
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue