summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-22 09:11:20 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-22 09:11:20 +0000
commitdf7be0ddabb2a51386eeb60e0970e128281ddfd9 (patch)
tree01a9ee9a5d80bff5ab0a330d32cb42e6ccfd6c03 /screen.c
parente2438dc96e33ba8741090398344103fd2533fe2a (diff)
Split SCREEN_BACKGROUND flag into BACKGROUND/NOCURSOR in preparation for copy mode.
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 e7be2a0e..6df0abc1 100644
--- a/screen.c
+++ b/screen.c
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.35 2007-11-21 22:20:44 nicm Exp $ */
+/* $Id: screen.c,v 1.36 2007-11-22 09:11:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -297,7 +297,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_BACKGROUND) && s->mode & MODE_CURSOR)
+ if (!(s->mode & MODE_NOCURSOR) && s->mode & MODE_CURSOR)
input_store_zero(b, CODE_CURSORON);
}