summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-21 19:53:57 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-21 19:53:57 +0000
commitd0984b890b84c2fac9cdcfbc44121c1171e06531 (patch)
treeee40b26aed2bac391ea3b2189fcabcf1534cf330 /screen.c
parentacb3661b66195ea4a5ee1305c58ba8a52f62a686 (diff)
Sort out cursors with a new flag - BACKGROUND - for window modes. Free text on more exit.
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 9b1a67b8..cf5d8167 100644
--- a/screen.c
+++ b/screen.c
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.32 2007-11-21 18:24:49 nicm Exp $ */
+/* $Id: screen.c,v 1.33 2007-11-21 19:53:56 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -250,7 +250,7 @@ screen_draw_stop(struct screen_draw_ctx *ctx)
if (ctx->attr != s->attr || ctx->colr != s->colr)
input_store_two(b, CODE_ATTRIBUTES, s->attr, s->colr);
- if (s->mode & MODE_CURSOR)
+ if (!(s->mode & MODE_BACKGROUND) && s->mode & MODE_CURSOR)
input_store_zero(b, CODE_CURSORON);
}