Yes looks right, I'll fix this after the OpenBSD tree unlocks. Thanks
On Sun, Feb 20, 2011 at 10:07:28PM +0900, Yusuke ENDOH wrote: > Hello, > > The following command emits red "foo" and red "bar" in > normal terminal (without tmux). > > $ ruby -e 'puts "\x1b[38;5;1m foo \x1b[48;5m bar"' > foo bar > > But when it is executed in tmux, red "foo" and *gray* "bar". > > "\x1b[48;5m" is a sequence to reset background colour, but > tmux seems to reset not background colour but foreground > colour. I suspect that this is caused by typo. > > Thanks, > > > diff --git a/input.c.orig b/input.c > index 628646b..1bbda92 100644 > --- a/input.c.orig > +++ b/input.c > @@ -1257,7 +1257,7 @@ input_csi_dispatch_sgr(struct input_ctx *ictx) > gc->fg = 8; > } else if (n == 48) { > gc->flags &= ~GRID_FLAG_BG256; > - gc->fg = 8; > + gc->bg = 8; > } > > } else { > > -- > Yusuke Endoh <m...@tsg.ne.jp> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users