@oh-my-pi/pi-tui 14.5.6 → 14.5.7
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 +6 -0
- package/package.json +3 -3
- package/src/components/editor.ts +1 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@oh-my-pi/pi-tui",
|
|
4
|
-
"version": "14.5.
|
|
4
|
+
"version": "14.5.7",
|
|
5
5
|
"description": "Terminal User Interface library with differential rendering for efficient text-based applications",
|
|
6
6
|
"homepage": "https://github.com/can1357/oh-my-pi",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"fmt": "biome format --write ."
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@oh-my-pi/pi-natives": "14.5.
|
|
41
|
-
"@oh-my-pi/pi-utils": "14.5.
|
|
40
|
+
"@oh-my-pi/pi-natives": "14.5.7",
|
|
41
|
+
"@oh-my-pi/pi-utils": "14.5.7",
|
|
42
42
|
"marked": "^18.0.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
package/src/components/editor.ts
CHANGED
|
@@ -1114,8 +1114,7 @@ export class Editor implements Component, Focusable {
|
|
|
1114
1114
|
// New line
|
|
1115
1115
|
else if (
|
|
1116
1116
|
(data.charCodeAt(0) === 10 && data.length > 1) || // Ctrl+Enter with modifiers
|
|
1117
|
-
data
|
|
1118
|
-
data === "\x1b[27;5;13~" || // Ctrl+Enter (legacy format)
|
|
1117
|
+
matchesKey(data, "ctrl+enter") || // Ctrl+Enter (Kitty/modifyOtherKeys, including lock bits/keypad Enter)
|
|
1119
1118
|
data === "\x1b\r" || // Option+Enter in some terminals (legacy)
|
|
1120
1119
|
data === "\x1b[13;2~" || // Shift+Enter in some terminals (legacy format)
|
|
1121
1120
|
kb.matches(data, "tui.input.newLine") || // Shift+Enter (Kitty protocol, handles lock bits)
|