Explorar o código

Fix Home, End behaviour on real console

git-svn-id: https://klish.googlecode.com/svn/trunk@464 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev %!s(int64=13) %!d(string=hai) anos
pai
achega
9b570819d7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tinyrl/vt100/vt100.c

+ 2 - 0
tinyrl/vt100/vt100.c

@@ -18,7 +18,9 @@ static vt100_decode_t cmds[] = {
 	{"[C", tinyrl_vt100_CURSOR_RIGHT},
 	{"[D", tinyrl_vt100_CURSOR_LEFT},
 	{"[H", tinyrl_vt100_HOME},
+	{"[1~", tinyrl_vt100_HOME},
 	{"[F", tinyrl_vt100_END},
+	{"[4~", tinyrl_vt100_END},
 	{"[2~", tinyrl_vt100_INSERT},
 	{"[3~", tinyrl_vt100_DELETE},
 	{"[5~", tinyrl_vt100_PGUP},