Re: patch to stop bad style from setting style to default

2015-02-18 Thread Nicholas Marriott
Good catch. Applied your diff and for completeness also changed style_parse not to alter it's arguments on failure. Thanks On Tue, Feb 17, 2015 at 12:01:34AM -0600, J Raynor wrote: > Right now, if you try to set a style with a bad value, tmux will > return an error, but it'll set the style to def

Re: patch for setting pane background color

2015-02-18 Thread J Raynor
I've attached a new patch. There are 2 new window options, window-style and window-active-style, that allow you to set the window's color and the window's active pane color. The display-panes command can still be used to set an explicit pane color with -P. tty_attributes now takes a window pane