diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-21 19:53:57 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-21 19:53:57 +0000 |
commit | d0984b890b84c2fac9cdcfbc44121c1171e06531 (patch) | |
tree | ee40b26aed2bac391ea3b2189fcabcf1534cf330 /server-fn.c | |
parent | acb3661b66195ea4a5ee1305c58ba8a52f62a686 (diff) |
Sort out cursors with a new flag - BACKGROUND - for window modes. Free text on more exit.
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 af651a81..d02fffd5 100644 --- a/server-fn.c +++ b/server-fn.c @@ -1,4 +1,4 @@ -/* $Id: server-fn.c,v 1.27 2007-11-21 13:11:41 nicm Exp $ */ +/* $Id: server-fn.c,v 1.28 2007-11-21 19:53:56 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -180,7 +180,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_CURSOR) + if (!(s->mode & MODE_BACKGROUND) && s->mode & MODE_CURSOR) input_store_zero(c->out, CODE_CURSORON); size = BUFFER_USED(c->out) - size; |