@gajae-code/tui 0.6.5 → 0.7.0

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,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@gajae-code/tui",
4
- "version": "0.6.5",
4
+ "version": "0.7.0",
5
5
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
6
6
  "homepage": "https://gaebal-gajae.dev",
7
7
  "author": "Yeachan-Heo",
@@ -38,8 +38,8 @@
38
38
  "fmt": "biome format --write ."
39
39
  },
40
40
  "dependencies": {
41
- "@gajae-code/natives": "0.6.5",
42
- "@gajae-code/utils": "0.6.5",
41
+ "@gajae-code/natives": "0.7.0",
42
+ "@gajae-code/utils": "0.7.0",
43
43
  "lru-cache": "11.3.6",
44
44
  "marked": "^18.0.3"
45
45
  },
@@ -1250,7 +1250,7 @@ export class Editor implements Component, Focusable {
1250
1250
  data === "\x1b[13;2~" || // Shift+Enter in some terminals (legacy format)
1251
1251
  kb.matches(data, "tui.input.newLine") || // Shift+Enter (Kitty protocol, handles lock bits)
1252
1252
  (data.length > 1 && data.includes("\x1b") && data.includes("\r")) ||
1253
- (data === "\n" && data.length === 1 && process.platform !== "win32") // Shift+Enter from iTerm2 mapping
1253
+ (data === "\n" && data.length === 1) // Shift+Enter from terminal sendInput mapping
1254
1254
  ) {
1255
1255
  if (this.#shouldSubmitOnBackslashEnter(data, kb)) {
1256
1256
  this.#handleBackspace();