@opentui/core 0.1.17 → 0.1.19-snapshot4-010c3be8

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/index.js CHANGED
@@ -59,7 +59,6 @@ import {
59
59
  cyan,
60
60
  delegate,
61
61
  dim,
62
- ensureRenderable,
63
62
  fg,
64
63
  fonts,
65
64
  getBorderFromSides,
@@ -85,6 +84,7 @@ import {
85
84
  isValidPercentage,
86
85
  italic,
87
86
  magenta,
87
+ maybeMakeRenderable,
88
88
  measureText,
89
89
  nonAlphanumericKeys,
90
90
  parseAlign,
@@ -118,7 +118,7 @@ import {
118
118
  white,
119
119
  wrapWithDelegates,
120
120
  yellow
121
- } from "./index-vg0fxf54.js";
121
+ } from "./index-grak7z0n.js";
122
122
  // src/post/filters.ts
123
123
  function applyScanlines(buffer, strength = 0.8, step = 2) {
124
124
  const width = buffer.width;
@@ -1923,6 +1923,9 @@ class InputRenderable extends Renderable {
1923
1923
  this.requestRender();
1924
1924
  }
1925
1925
  }
1926
+ get cursorPosition() {
1927
+ return this._cursorPosition;
1928
+ }
1926
1929
  set cursorPosition(position) {
1927
1930
  const newPosition = Math.max(0, Math.min(position, this._value.length));
1928
1931
  if (this._cursorPosition !== newPosition) {
@@ -2062,9 +2065,6 @@ class InputRenderable extends Renderable {
2062
2065
  this._ctx.setCursorPosition(0, 0, false);
2063
2066
  }
2064
2067
  }
2065
- destroySelf() {
2066
- super.destroySelf();
2067
- }
2068
2068
  }
2069
2069
  // src/renderables/Select.ts
2070
2070
  var SelectRenderableEvents;
@@ -3556,6 +3556,7 @@ export {
3556
3556
  parseAlign,
3557
3557
  nonAlphanumericKeys,
3558
3558
  measureText,
3559
+ maybeMakeRenderable,
3559
3560
  magenta,
3560
3561
  italic,
3561
3562
  isValidPercentage,
@@ -3581,7 +3582,6 @@ export {
3581
3582
  getBorderFromSides,
3582
3583
  fonts,
3583
3584
  fg,
3584
- ensureRenderable,
3585
3585
  engine,
3586
3586
  dim,
3587
3587
  delegate,
@@ -3677,5 +3677,5 @@ export {
3677
3677
  ASCIIFont
3678
3678
  };
3679
3679
 
3680
- //# debugId=24DCA0A436360CDD64756E2164756E21
3680
+ //# debugId=288AEFAF1D35CBD764756E2164756E21
3681
3681
  //# sourceMappingURL=index.js.map