Disable/enable window activity monitoring with set-window-option command.

This commit is contained in:
Nicholas Marriott
2008-06-04 17:54:27 +00:00
parent 14b9512546
commit 0f95671fe3
8 changed files with 239 additions and 17 deletions

View File

@ -1,4 +1,4 @@
/* $Id: window.c,v 1.38 2008-06-03 21:42:37 nicm Exp $ */
/* $Id: window.c,v 1.39 2008-06-04 17:54:27 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -186,6 +186,7 @@ window_create(const char *name,
w->in = buffer_create(BUFSIZ);
w->out = buffer_create(BUFSIZ);
w->mode = NULL;
w->flags = 0;
screen_create(&w->base, sx, sy, hlimit);
w->screen = &w->base;
input_init(w);