summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-01-03 21:32:11 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-01-03 21:32:11 +0000
commit205b78ec588c2235bf037edb75b1fe2ac8d78386 (patch)
treefbcec5da406b1c1a8ace1979a4907ebd3bf91b21 /screen.c
parentb8e616f44555ac74f652375af76da2689afa9147 (diff)
Some key tweaks, fix status bar to not rely on attr.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index b8a30075..432103cf 100644
--- a/screen.c
+++ b/screen.c
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.58 2007-12-06 22:13:14 nicm Exp $ */
+/* $Id: screen.c,v 1.59 2008-01-03 21:32:11 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -144,7 +144,7 @@ screen_create(struct screen *s, u_int dx, u_int dy)
s->attr = SCREEN_DEFATTR;
s->colr = SCREEN_DEFCOLR;
- s->mode = MODE_CURSOR;
+ s->mode = MODE_CURSOR|MODE_KCURSOR|MODE_KKEYPAD;
s->title = xstrdup("");
s->grid_data = xmalloc(dy * (sizeof *s->grid_data));