@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/3d.js +1 -1
- package/{index-rkpj2eng.js → index-ztfy2qy3.js} +8 -3
- package/{index-rkpj2eng.js.map → index-ztfy2qy3.js.map} +3 -3
- package/index.js +3 -4
- package/index.js.map +3 -3
- package/package.json +7 -7
- package/testing.js +1 -1
package/index.js
CHANGED
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
white,
|
|
137
137
|
wrapWithDelegates,
|
|
138
138
|
yellow
|
|
139
|
-
} from "./index-
|
|
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 +
|
|
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=
|
|
6453
|
+
//# debugId=96ABDB71AC96072A64756E2164756E21
|
|
6455
6454
|
//# sourceMappingURL=index.js.map
|