Use tmux display to find the current session name making vimux tmux1.3 compatible. Fixes #7

1.0.0rc1
benmills 12 years ago
parent 96df08933a
commit 64a5ebe875

@ -192,7 +192,7 @@ class CurrentTmuxSession < TmuxSession
end
def get_session
_run("list-panes -F '\#\{session_name\}'").split("\n").first.strip
_run("display -p '#S'").strip
end
end
EOF

Loading…
Cancel
Save