@sayknow-cli/tui 0.2.7 → 0.3.1

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