@oh-my-pi/pi-tui 4.3.2 → 4.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-tui",
3
- "version": "4.3.2",
3
+ "version": "4.4.6",
4
4
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -708,6 +708,8 @@ export class Editor implements Component {
708
708
  // New line shortcuts (but not plain LF/CR which should be submit)
709
709
  else if (
710
710
  (data.charCodeAt(0) === 10 && data.length > 1) || // Ctrl+Enter with modifiers
711
+ data === "\x1b[13;5u" || // Ctrl+Enter (Kitty protocol)
712
+ data === "\x1b[27;5;13~" || // Ctrl+Enter (legacy format)
711
713
  data === "\x1b\r" || // Option+Enter in some terminals (legacy)
712
714
  data === "\x1b[13;2~" || // Shift+Enter in some terminals (legacy format)
713
715
  isShiftEnter(data) || // Shift+Enter (Kitty protocol, handles lock bits)