From 97212771b5932881826d3738fa448bc51d213bce Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 23 Jul 2008 23:44:50 +0000 Subject: Support keypad. Change cursor key output. --- input.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index fa7dd492..e56e70a7 100644 --- a/input.c +++ b/input.c @@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.50 2008-06-18 19:06:51 nicm Exp $ */ +/* $Id: input.c,v 1.51 2008-07-23 23:44:50 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -557,11 +557,11 @@ input_handle_private_two(u_char ch, struct input_ctx *ictx) switch (ch) { case '=': /* DECKPAM */ screen_write_set_mode(&ictx->ctx, MODE_KKEYPAD); - log_debug("kkeypad on"); + log_debug("kkeypad on (application mode)"); break; - case '>': /* DECKPNM*/ + case '>': /* DECKPNM */ screen_write_clear_mode(&ictx->ctx, MODE_KKEYPAD); - log_debug("kkeypad off"); + log_debug("kkeypad off (number mode)"); break; case '7': /* DECSC */ s->saved_cx = s->cx; -- cgit