@jx0/jmux 0.3.5 → 0.3.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/main.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx0/jmux",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "The terminal workspace for agentic development",
5
5
  "type": "module",
6
6
  "bin": {
package/src/main.ts CHANGED
@@ -12,7 +12,7 @@ import { homedir } from "os";
12
12
 
13
13
  // --- CLI commands (run and exit before TUI) ---
14
14
 
15
- const VERSION = "0.3.5";
15
+ const VERSION = "0.3.6";
16
16
 
17
17
  const HELP = `jmux — a persistent session sidebar for tmux
18
18
 
@@ -145,6 +145,7 @@ process.stdout.write("\x1b[?1049h");
145
145
  process.stdout.write("\x1b[?1000h"); // mouse button tracking
146
146
  process.stdout.write("\x1b[?1002h"); // mouse drag tracking
147
147
  process.stdout.write("\x1b[?1006h"); // SGR extended mouse mode
148
+ process.stdout.write("\x1b[?2004h"); // bracketed paste mode
148
149
  if (process.stdin.setRawMode) {
149
150
  process.stdin.setRawMode(true);
150
151
  }
@@ -500,6 +501,7 @@ async function start(): Promise<void> {
500
501
 
501
502
  function cleanup(): void {
502
503
  control.close().catch(() => {});
504
+ process.stdout.write("\x1b[?2004l"); // disable bracketed paste mode
503
505
  process.stdout.write("\x1b[?1000l"); // disable mouse button tracking
504
506
  process.stdout.write("\x1b[?1002l"); // disable mouse drag tracking
505
507
  process.stdout.write("\x1b[?1006l"); // disable SGR mouse mode