wispy-cli 2.7.33 → 2.7.34

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.
@@ -1126,6 +1126,16 @@ class WispyInput extends Input {
1126
1126
  if (this._wispy.handleGlobalKey(data)) return;
1127
1127
  }
1128
1128
 
1129
+ // Block control characters that break rendering
1130
+ if (matchesKey(data, Key.ctrl("r"))) return;
1131
+ if (matchesKey(data, Key.ctrl("s"))) return;
1132
+ if (matchesKey(data, Key.ctrl("z"))) return;
1133
+ if (matchesKey(data, Key.ctrl("o"))) return;
1134
+ // Also block raw control bytes (Ctrl+R = \x12, etc.)
1135
+ if (typeof data === "string" && data.length === 1 && data.charCodeAt(0) < 32
1136
+ && data !== "\r" && data !== "\n" && data !== "\t" && data !== "\x7f" && data !== "\b"
1137
+ && data !== "\x03" && data !== "\x0c") return;
1138
+
1129
1139
  // Default: pass to Input (single-line, handles typing, backspace, CJK, cursor movement)
1130
1140
  super.handleInput(data);
1131
1141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wispy-cli",
3
- "version": "2.7.33",
3
+ "version": "2.7.34",
4
4
  "description": "🌿 Wispy — AI workspace assistant with trustworthy execution (harness, receipts, approvals, diffs)",
5
5
  "license": "MIT",
6
6
  "author": "Minseo & Poropo",