When a winlink is linked in to multiple sessions, make the alert appear
across all sessions where that winlink is linked to, and on clearing it,
ensure *all* instances of that alert are cleared.
---
trunk/server-window.c |5 ++---
trunk/session.c |8
trunk/tmux.h |
Hi,
I've had these two patches kicking around for a while, so I've cleaned them
up and shoved them here for review.
[1/2]: Simplify server_window_check_bell()
This patch simplifies the code for window bell checks. Previously, the case
statement which differentiated the different bell types did
Rather than duplicating the same logic between monitoring bells in all or
the current window, instead centralise the logic of looping over all
windows, and for the purposes of rendering visual-* alerts, only check the
bell type at that point, and print the appropriate message.
---
trunk/server-win
When a winlink is linked in to multiple sessions, make the alert appear
across all sessions where that winlink is linked to, and on clearing it,
ensure *all* instances of that alert are cleared.
---
V2: Clear more window->flags than just WINDOW_BELL.
trunk/server-window.c | 11 ---
t
Hi, in many occasions, after resuming from suspension to ram, the tmux
server suddenly segfaults for me. The segfault happens quite randomly,
but a way to reproduce it is the following:
1) I start tmux;
2) I launch mutt with the following key binding defined in my tmux.conf:
bind p neww -k -t:6 '
On Sun, Jun 17, 2012, at 08:46 PM, Giorgio Lando wrote:
> 1) I start tmux;
> 2) I launch mutt with the following key binding defined in my tmux.conf:
> bind p neww -k -t:6 'mutt'
> 3) I suspend my laptop to ram;
> 4) I relaunch mutt with that same keybinding.
Sorry to correct myself so soon, bu
Hi,
On 17 June 2012 22:50, Giorgio Lando wrote:
>
> On Sun, Jun 17, 2012, at 08:46 PM, Giorgio Lando wrote:
>> 1) I start tmux;
>> 2) I launch mutt with the following key binding defined in my tmux.conf:
>> bind p neww -k -t:6 'mutt'
>> 3) I suspend my laptop to ram;
>> 4) I relaunch mutt with th
On Sun, Jun 17, 2012 at 10:53:54PM +0100, Thomas Adam wrote:
> Hi,
>
> On 17 June 2012 22:50, Giorgio Lando wrote:
> >
> > On Sun, Jun 17, 2012, at 08:46 PM, Giorgio Lando wrote:
> >> 1) I start tmux;
> >> 2) I launch mutt with the following key binding defined in my tmux.conf:
> >> bind p neww -
On Sun, Jun 17, 2012, at 11:00 PM, Thomas Adam wrote:
> OK, I had to do a few things differently to you. Does the following
> help?
>
> diff --git a/trunk/cmd.c b/trunk/cmd.c
> index 7aefeff..09b4922 100644
> --- a/trunk/cmd.c
> +++ b/trunk/cmd.c
> @@ -1303,7 +1303,7 @@ cmd_get_default_path(str