@opentui/core 0.1.48 → 0.1.50

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
@@ -136,7 +136,7 @@ import {
136
136
  white,
137
137
  wrapWithDelegates,
138
138
  yellow
139
- } from "./index-rkpj2eng.js";
139
+ } from "./index-ztfy2qy3.js";
140
140
  // src/text-buffer-view.ts
141
141
  class TextBufferView {
142
142
  lib;
@@ -6177,9 +6177,8 @@ class TextareaRenderable extends EditBufferRenderable {
6177
6177
  return;
6178
6178
  }
6179
6179
  const visualCursor = this.editorView.getVisualCursor();
6180
- const viewport = this.editorView.getViewport();
6181
6180
  const cursorX = this.x + visualCursor.visualCol;
6182
- const cursorY = this.y + (visualCursor.visualRow - viewport.offsetY);
6181
+ const cursorY = this.y + visualCursor.visualRow;
6183
6182
  if (isBeforeMovement) {
6184
6183
  if (!this._ctx.hasSelection) {
6185
6184
  this._ctx.startSelection(this, cursorX, cursorY);
@@ -6451,5 +6450,5 @@ export {
6451
6450
  ASCIIFont
6452
6451
  };
6453
6452
 
6454
- //# debugId=BF93FD4926B5BA4964756E2164756E21
6453
+ //# debugId=96ABDB71AC96072A64756E2164756E21
6455
6454
  //# sourceMappingURL=index.js.map