@termwire/tmux 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/session.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/session.js
CHANGED
|
@@ -23,7 +23,7 @@ export async function setEnvironment(exec, session, key, value) {
|
|
|
23
23
|
}
|
|
24
24
|
export async function setSessionTitle(exec, session) {
|
|
25
25
|
assertNotEmpty("session", session);
|
|
26
|
-
const setTitlesCommand = ["tmux", "set-option", "-t",
|
|
26
|
+
const setTitlesCommand = ["tmux", "set-option", "-t", session, "set-titles", "on"];
|
|
27
27
|
const setTitlesExecution = await execute(exec, setTitlesCommand);
|
|
28
28
|
if (setTitlesExecution.exitCode !== 0) {
|
|
29
29
|
throw CommandError.from(setTitlesCommand, setTitlesExecution);
|
|
@@ -32,7 +32,7 @@ export async function setSessionTitle(exec, session) {
|
|
|
32
32
|
"tmux",
|
|
33
33
|
"set-option",
|
|
34
34
|
"-t",
|
|
35
|
-
|
|
35
|
+
session,
|
|
36
36
|
"set-titles-string",
|
|
37
37
|
"#{session_name}",
|
|
38
38
|
];
|