mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 22:43:58 +00:00
Partial copy mode. Currently does the same as scroll mode but using a cursor. Also fix bug where resizing would leave crap lying around.
This commit is contained in:
11
status.c
11
status.c
@ -1,4 +1,4 @@
|
||||
/* $Id: status.c,v 1.12 2007-11-22 09:29:50 nicm Exp $ */
|
||||
/* $Id: status.c,v 1.13 2007-11-22 18:09:43 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -57,8 +57,13 @@ status_write(struct client *c)
|
||||
|
||||
input_store_two(b, CODE_ATTRIBUTES, s->attr, s->colr);
|
||||
input_store_two(b, CODE_CURSORMOVE, s->cy + 1, s->cx + 1);
|
||||
if (!(s->mode & MODE_NOCURSOR) && s->mode & MODE_CURSOR)
|
||||
input_store_zero(b, CODE_CURSORON);
|
||||
if (s->mode & MODE_BACKGROUND) {
|
||||
if (s->mode & MODE_BGCURSOR)
|
||||
input_store_zero(c->out, CODE_CURSORON);
|
||||
} else {
|
||||
if (s->mode & MODE_CURSOR)
|
||||
input_store_zero(c->out, CODE_CURSORON);
|
||||
}
|
||||
}
|
||||
|
||||
void printflike3
|
||||
|
Reference in New Issue
Block a user