CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/07/30 07:45:56
Modified files:
usr.bin/tmux : cmd-break-pane.c cmd-clear-history.c
cmd-generic.c cmd-kill-pane.c cmd-resize-pane.c
cmd-select-pane.c cmd-swap-pane.c cmd.c tmux.1
tmux.h
Log message:
Merge pane number into the target specification for pane commands. Instead of
using -p index, a target pane is now addressed with the normal -t window form
but suffixed with a period and a pane index, for example :0.2 or
mysess:mywin.1. An unadorned number such as -t 1 is tried as a pane index in
the current window, if that fails the same rules are followed as for a target
window and the current pane in that window used.
As a side-effect this now means that swap-pane can swap panes between different
windows.
Note that this changes the syntax of the break-pane, clear-history, kill-pane,
resize-pane, select-pane and swap-pane commands.