diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-07-24 21:42:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-07-24 21:42:40 +0000 |
commit | 3337dfcae5505236eb11e61323ce2d58d9f54fed (patch) | |
tree | e67bb1ebd90208ba73da17605567bd29d5f4a6fb /input.c | |
parent | 815b2174827a3aaf333d47771b767a92b9e0f96f (diff) | |
download | rtmux-3337dfcae5505236eb11e61323ce2d58d9f54fed.tar.gz rtmux-3337dfcae5505236eb11e61323ce2d58d9f54fed.tar.bz2 rtmux-3337dfcae5505236eb11e61323ce2d58d9f54fed.zip |
Support keypad mode, and get rid of SCREEN_DEF*. Meant to commit these separately but forgot :-/.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 <nicm@users.sourceforge.net> @@ -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; |