From 3337dfcae5505236eb11e61323ce2d58d9f54fed Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 24 Jul 2008 21:42:40 +0000 Subject: Support keypad mode, and get rid of SCREEN_DEF*. Meant to commit these separately but forgot :-/. --- input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index e56e70a7..663d7b76 100644 --- a/input.c +++ b/input.c @@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.51 2008-07-23 23:44:50 nicm Exp $ */ +/* $Id: input.c,v 1.52 2008-07-24 21:42:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1055,7 +1055,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx) n = ARRAY_LENGTH(&ictx->args); if (n == 0) { attr = 0; - colr = SCREEN_DEFCOLR; + colr = 0x88; } else { attr = s->attr; colr = s->colr; @@ -1066,7 +1066,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx) case 0: case 10: attr &= ATTR_CHARSET; - colr = SCREEN_DEFCOLR; + colr = 0x88; break; case 1: attr |= ATTR_BRIGHT; -- cgit