mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Sort out cursors with a new flag - BACKGROUND - for window modes. Free text on more exit.
This commit is contained in:
4
screen.c
4
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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user