@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @termwire/tmux
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - f65db71: Use valid plain session targets for tmux session-title options, preventing `termwire up` from failing.
8
+
3
9
  ## 0.2.1
4
10
 
5
11
  ### Patch Changes
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", `=${session}`, "set-titles", "on"];
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
- `=${session}`,
35
+ session,
36
36
  "set-titles-string",
37
37
  "#{session_name}",
38
38
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@termwire/tmux",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",