sisyphi 1.1.27 → 1.1.28

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/dist/daemon.js CHANGED
@@ -1380,9 +1380,6 @@ function setWindowOption(windowTarget, option, value) {
1380
1380
  function getSessionOption(target, option) {
1381
1381
  return execSafe(`tmux show-options -t ${t(target)} -v ${option}`);
1382
1382
  }
1383
- function setGlobalOption(option, value) {
1384
- execSafe(`tmux set-option -g ${option} ${shellQuote(value)}`);
1385
- }
1386
1383
  function listAllSessions() {
1387
1384
  const output = execSafe('tmux list-sessions -F "#{session_id} #{session_name}"');
1388
1385
  if (!output) return [];
@@ -8881,7 +8878,6 @@ var Compositor = class {
8881
8878
  segments = /* @__PURE__ */ new Map();
8882
8879
  external = /* @__PURE__ */ new Map();
8883
8880
  config;
8884
- initialized = false;
8885
8881
  constructor(config) {
8886
8882
  this.config = config;
8887
8883
  }
@@ -8900,25 +8896,12 @@ var Compositor = class {
8900
8896
  this.external.delete(id);
8901
8897
  }
8902
8898
  render() {
8903
- if (!this.initialized) {
8904
- this.initialize();
8905
- this.initialized = true;
8906
- }
8907
8899
  const ctx = this.buildContext();
8908
8900
  for (const session of ctx.allSessions) {
8909
8901
  const sessionCtx = this.buildSessionContext(ctx, session.name);
8910
8902
  setSessionOption(session.name, "@sisyphus_left", this.composeLeft(sessionCtx));
8911
8903
  setSessionOption(session.name, "@sisyphus_right", this.composeRight(sessionCtx));
8912
8904
  }
8913
- setGlobalOption("status-left", "#{E:@sisyphus_left}");
8914
- setGlobalOption("status-right", "#{E:@sisyphus_right}");
8915
- }
8916
- initialize() {
8917
- setGlobalOption("window-status-format", "");
8918
- setGlobalOption("window-status-current-format", "");
8919
- setGlobalOption("window-status-separator", "");
8920
- setGlobalOption("status-left-length", "250");
8921
- setGlobalOption("status-right-length", "250");
8922
8905
  }
8923
8906
  buildContext() {
8924
8907
  const allPanes = listAllPanes();