mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
b3c63ff614
This adds a new "arrow" key "delete" corresponding to the kD termcap value. It only works if that is a sequence such as "\033[3~"; if it is "\177", the em-delete-prev-char or ed-delete-prev-char from the single-character mappings remains. It turns out that most terminals (xterm and alikes, syscons in xterm mode) produce "\033[3~" by default so <Delete> has the expected effect. This also means that things need to be considerably misconfigured for <Backspace> to perform a <Delete> action. |
||
---|---|---|
.. | ||
TEST | ||
chared.c | ||
chared.h | ||
common.c | ||
editline.3 | ||
editrc.5 | ||
el.c | ||
el.h | ||
emacs.c | ||
filecomplete.c | ||
filecomplete.h | ||
hist.c | ||
hist.h | ||
history.c | ||
key.c | ||
key.h | ||
Makefile | ||
makelist | ||
map.c | ||
map.h | ||
parse.c | ||
parse.h | ||
prompt.c | ||
prompt.h | ||
read.c | ||
read.h | ||
refresh.c | ||
refresh.h | ||
search.c | ||
search.h | ||
sig.c | ||
sig.h | ||
sys.h | ||
term.c | ||
term.h | ||
tokenizer.c | ||
tty.c | ||
tty.h | ||
vi.c |