mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-22 16:24:00 +01:00
Specify tmux session in capture-pane command
This commit is contained in:
parent
8894328483
commit
bc83349133
@ -1869,7 +1869,7 @@ func captureTerminalOutputWithShellNameAndDimensions(t *testing.T, tester shellT
|
||||
fullCommand += " sleep " + sleepAmount + "\n"
|
||||
}
|
||||
fullCommand += " sleep 0.5\n"
|
||||
fullCommand += " tmux capture-pane -p\n"
|
||||
fullCommand += " tmux capture-pane -t foo -p\n"
|
||||
fullCommand += " tmux kill-session -t foo\n"
|
||||
hctx.GetLogger().Infof("Running tmux command: " + fullCommand)
|
||||
return strings.TrimSpace(tester.RunInteractiveShell(t, fullCommand))
|
||||
|
Loading…
Reference in New Issue
Block a user