diff options
author | onefang | 2021-09-02 22:50:42 +1000 |
---|---|---|
committer | onefang | 2021-09-02 22:50:42 +1000 |
commit | d0ed04e8ccaf9d47df6eb0a4777ca81dd28430ae (patch) | |
tree | 0486f2858d88bfb753543e19ff86b26c84aa7e08 /src/sledjchisl | |
parent | Do the git chekout in the proper directory. (diff) | |
download | opensim-SC-d0ed04e8ccaf9d47df6eb0a4777ca81dd28430ae.zip opensim-SC-d0ed04e8ccaf9d47df6eb0a4777ca81dd28430ae.tar.gz opensim-SC-d0ed04e8ccaf9d47df6eb0a4777ca81dd28430ae.tar.bz2 opensim-SC-d0ed04e8ccaf9d47df6eb0a4777ca81dd28430ae.tar.xz |
Pass the sledjchisl mode to the new tmux instance.
Diffstat (limited to 'src/sledjchisl')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index c2eaa6e..9bddb0e 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -8462,7 +8462,8 @@ Build the OpenSim. | |||
8462 | snprintf(toybuf, sizeof(toybuf), | 8462 | snprintf(toybuf, sizeof(toybuf), |
8463 | "%s %s %s/%s set-option -g default-command 'export PATH=%s:$PATH; bash'\\; " | 8463 | "%s %s %s/%s set-option -g default-command 'export PATH=%s:$PATH; bash'\\; " |
8464 | // Set x,y to huge values, to work around an OpenSim bug. | 8464 | // Set x,y to huge values, to work around an OpenSim bug. |
8465 | "new-session -d -x 256 -y 420 -s %s -n '%s' bash -c 'export PATH=%s:$PATH; printf \"\\033]0;SledjChisl\\007\"; /usr/bin/valgrind --leak-check=full %s/current/bin/sledjchisl %s; cd %s; bash' \\; " | 8465 | "new-session -d -x 256 -y 420 -s %s -n '%s' bash -c 'export PATH=%s:$PATH; printf \"\\033]0;SledjChisl\\007\"; " |
8466 | "/usr/bin/valgrind --leak-check=full %s/current/bin/sledjchisl %s %s; cd %s; bash' \\; " | ||
8466 | "split-window -vp 50 -d -t '%s:0.0' \\; " | 8467 | "split-window -vp 50 -d -t '%s:0.0' \\; " |
8467 | "split-window -hp 50 -d -t '%s:0.1' \\; " | 8468 | "split-window -hp 50 -d -t '%s:0.1' \\; " |
8468 | "split-window -hp 50 -d -t '%s:0.0' " | 8469 | "split-window -hp 50 -d -t '%s:0.0' " |
@@ -8474,7 +8475,8 @@ Build the OpenSim. | |||
8474 | "cd %s; bash'" | 8475 | "cd %s; bash'" |
8475 | , | 8476 | , |
8476 | pre, Tcmd, scRun, Tsocket, scBin, | 8477 | pre, Tcmd, scRun, Tsocket, scBin, |
8477 | Tconsole, Ttab, scBin, scRoot, FLAG(v) ? "-v" : "", scRoot, | 8478 | Tconsole, Ttab, scBin, |
8479 | scRoot, modeStrings[currentMode], FLAG(v) ? "-v" : "", scRoot, | ||
8478 | Tconsole, | 8480 | Tconsole, |
8479 | Tconsole, | 8481 | Tconsole, |
8480 | Tconsole, | 8482 | Tconsole, |