diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-22 09:11:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-22 09:11:20 +0000 |
commit | df7be0ddabb2a51386eeb60e0970e128281ddfd9 (patch) | |
tree | 01a9ee9a5d80bff5ab0a330d32cb42e6ccfd6c03 /server-fn.c | |
parent | e2438dc96e33ba8741090398344103fd2533fe2a (diff) |
Split SCREEN_BACKGROUND flag into BACKGROUND/NOCURSOR in preparation for copy mode.
Diffstat (limited to 'server-fn.c')
-rw-r--r-- | server-fn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server-fn.c b/server-fn.c index 245b3b65..27a43a41 100644 --- a/server-fn.c +++ b/server-fn.c @@ -1,4 +1,4 @@ -/* $Id: server-fn.c,v 1.29 2007-11-21 20:04:37 nicm Exp $ */ +/* $Id: server-fn.c,v 1.30 2007-11-22 09:11:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -175,7 +175,7 @@ server_clear_client(struct client *c) input_store_zero(c->out, CODE_CLEARLINE); } input_store_two(c->out, CODE_CURSORMOVE, s->cy + 1, s->cx + 1); - if (!(s->mode & MODE_BACKGROUND) && s->mode & MODE_CURSOR) + if (!(s->mode & MODE_NOCURSOR) && s->mode & MODE_CURSOR) input_store_zero(c->out, CODE_CURSORON); size = BUFFER_USED(c->out) - size; |