|
|
|
@ -79,7 +79,7 @@ var testTable = []struct {
|
|
|
|
|
"tmux new -Pd -s ses -n smug_def -c root",
|
|
|
|
|
"tmux neww -Pd -t ses: -n win1 -c root",
|
|
|
|
|
"tmux select-layout -t ses:win1 main-horizontal",
|
|
|
|
|
"tmux split-window -Pd -t ses:win1 -c root -h",
|
|
|
|
|
"tmux split-window -Pd -t ses:win1 -c root -F #{pane_id} -h",
|
|
|
|
|
"tmux kill-window -t ses:smug_def",
|
|
|
|
|
"tmux move-window -r -s ses: -t ses:",
|
|
|
|
|
"tmux attach -d -t ses:win1",
|
|
|
|
@ -89,7 +89,7 @@ var testTable = []struct {
|
|
|
|
|
"/bin/sh -c stop2 -d --foo=bar",
|
|
|
|
|
"tmux kill-session -t ses",
|
|
|
|
|
},
|
|
|
|
|
"xyz",
|
|
|
|
|
"1",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
Config{
|
|
|
|
@ -192,7 +192,7 @@ var testTable = []struct {
|
|
|
|
|
"tmux new -Pd -s ses -n smug_def -c root",
|
|
|
|
|
"tmux neww -Pd -t ses: -n win1 -c root/win1",
|
|
|
|
|
"tmux select-layout -t ses:win1 even-horizontal",
|
|
|
|
|
"tmux split-window -Pd -t ses:win1 -c root/win1/pane1 -v",
|
|
|
|
|
"tmux split-window -Pd -t ses:win1 -c root/win1/pane1 -F #{pane_id} -v",
|
|
|
|
|
"tmux send-keys -t ses:win1.1 command1 Enter",
|
|
|
|
|
"tmux kill-window -t ses:smug_def",
|
|
|
|
|
"tmux move-window -r -s ses: -t ses:",
|
|
|
|
@ -201,7 +201,7 @@ var testTable = []struct {
|
|
|
|
|
[]string{
|
|
|
|
|
"tmux kill-session -t ses",
|
|
|
|
|
},
|
|
|
|
|
"xyz",
|
|
|
|
|
"1",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
Config{
|
|
|
|
|