fix home/end to match xterm.

SVN revision: 72471
This commit is contained in:
Carsten Haitzler 2012-06-19 11:54:24 +00:00
parent 0926d19ccb
commit db4a99a499
1 changed files with 5 additions and 2 deletions

View File

@ -78,8 +78,11 @@ static const Keyout keyout[] =
KEY("Down", "\033[B"),
// KEY("Tab", "\t"),
// KEY("ISO_Left_Tab", "\t"),
KEY("Home", "\033[7~"),
KEY("End", "\033[8~"),
//// non-xterm escapes. for xterm we want the next 2
// KEY("Home", "\033[7~"),
// KEY("End", "\033[8~"),
KEY("Home", "\033[H"),
KEY("End", "\033[F"),
KEY("Prior", "\033[5~"),
KEY("Next", "\033[6~"),
KEY("Insert", "\033[2~"),