Hi Nicholas,
On Sun, Mar 24, 2013 at 10:54:48PM +, Nicholas Marriott wrote:
> Why do you need to make sure it exists? Why not create it?
It is much cleaner to script against a stable setup. It also provides
for a better user experience: It should be always possible to switch to
the fixed sess
Hi
Why do you need to make sure it exists? Why not create it?
If you want to change the code there are a couple of possibilities:
- Make sure everywhere we dereference curw is safe if it is NULL, ie
anywhere we assume a session has at least one window (the current
window). This should be fai
There is an odd bit of behavior in CUU and CUD when the cursor is at
the end of the line in xterm that tmux does not have. The following
command:
echo -e '\033[2J\033[2;80Ha\033[1Ab\n'
when run on a terminal 80 characters wide, will print both "a" and "b"
on the 80th column in xterm. In tmux, the
I'm currently working on a shell script package for remote
administration, involving tmux [1]. A script called tmux-job moves
windows to another session after the contained job has finished (based
on exit code). It must make sure that the target session exists. To
avoid hacking, it would be very pr
I think perhaps #{} should me made to translate to # although in this
case it doesn't matter because if run-shell handled the pane ok it'd be
the same pane as display-message.
On Sun, Mar 24, 2013 at 04:28:18AM -0500, Chris Johnsen wrote:
> On Sun, Mar 24, 2013 at 4:12 AM, Chris Johnsen
> wrote
On Sun, Mar 24, 2013 at 4:12 AM, Chris Johnsen wrote:
> You can probably use "-t :" to get things working:
>
> bind ^H run -t : "tmux display-message '#{pane_title}'"
>
Here is another alternative that tries to avoid the format expansion
that display-message now does:
bind ^H run "tmux d
> On Saturday, March 23, 2013 at 11:05 PM, Aaron Jensen wrote:
>
> If I do this:
>
> bind ^H run "tmux display-message '#{pane_title}'"
>
> Then it will show blank instead of the current pane's title. It's as if it
> loses the context of the current pane. And yes, I do need the `run`, the
> real b
try this please
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index 5d4..d1cbd7f 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -59,6 +59,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq)
struct args *args = self->args;
struct cmd_if_shell_dat