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

patch to stop bad style from setting style to default

2015-02-16 Thread J Raynor
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 default. This happens even if the style isn't currently set. For example: localhost> tmux show -w localhost> tmux set pane-border-style bg=BadValue bad style: bg=BadValue localhost> tmux