Skip to content

Commit

Permalink
vty_cli: add more home/end escape codes
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Oct 28, 2010
1 parent 5a7e71e commit 8522bc7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vty_cli.c
Expand Up @@ -258,6 +258,12 @@ static int knet_vty_process_buf(struct knet_vty *vty, unsigned char *buf, int bu
case ('D'):
knet_vty_backward_char(vty);
break;
case ('H'):
log_info("home key");
break;
case ('F'):
log_info("end key");
break;
case ('1'):
case ('2'):
case ('3'):
Expand Down

0 comments on commit 8522bc7

Please sign in to comment.