> But might make tmux flicker quite a bit over SSH or on slower terminals.

I don't think it'll cause flicker.  Tmux tries to limit how much needs
to be written to the terminal.  I did a quick login test with trickle,
setting upload/download speeds to 1K, 2K, 8K, and 16K.  I don't see
any flickering.  Redrawing the screen is slow at those speeds, but
that's true even if you don't use colored panes.   But once the screen
is redrawn, such as when you complete switching panes, it appears to
behave well.

>> The patch adds a colour-pane command (note the spelling), with an
>
> It should be that; I'm British, and that's the current spelling of the other
> tmux commands which have colour in their name.

Right.  I chose that spelling for consistency with the rest of tmux.

> Not speaking for the impetus of this change, I don't see that we need a
> separate command for this; it should work like any other setting.

I thought so too, initially.  But tmux doesn't have options for panes,
right?  Just server, session, and window?  It didn't seem to make
sense to try to cram pane-specific behavior into a window option.  The
window and active-pane colors could be options, but if you've got to
add a command anyway for the pane...


> I wouldn't bother allocating gc on the heap here.  Just pass it through as
> &gc.

I need to allocate it from the heap because gc will get assigned to a
window or pane later on, so it needs to outlast the stack.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to