@opentui/core 0.5.6 → 0.5.8
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/README.md +44 -37
- package/{chunk-bun-9335djz2.js → chunk-bun-2956gvaq.js} +131 -57
- package/{chunk-bun-9335djz2.js.map → chunk-bun-2956gvaq.js.map} +8 -8
- package/{chunk-bun-da1keqyp.js → chunk-bun-b3exa82d.js} +132 -58
- package/chunk-bun-b3exa82d.js.map +32 -0
- package/{chunk-node-ks0581vk.js → chunk-node-kr27pp2p.js} +132 -58
- package/chunk-node-kr27pp2p.js.map +32 -0
- package/{chunk-node-2h23nsbj.js → chunk-node-mfda59vq.js} +131 -57
- package/{chunk-node-2h23nsbj.js.map → chunk-node-mfda59vq.js.map} +8 -8
- package/editor-view.d.ts +9 -2
- package/index.bun.js +4 -4
- package/index.bun.js.map +3 -3
- package/index.node.js +4 -4
- package/index.node.js.map +3 -3
- package/lib/selection.d.ts +4 -2
- package/package.json +9 -9
- package/renderables/EditBufferRenderable.d.ts +5 -1
- package/renderer.d.ts +5 -2
- package/testing.bun.js +2 -2
- package/testing.js +2 -2
- package/text-buffer-view.d.ts +5 -2
- package/types.d.ts +11 -2
- package/yoga.bun.js +1 -1
- package/yoga.js +1 -1
- package/zig-structs.d.ts +1 -0
- package/zig.d.ts +12 -5
- package/chunk-bun-da1keqyp.js.map +0 -32
- package/chunk-node-ks0581vk.js.map +0 -32
package/index.node.js
CHANGED
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
mergeKeyAliases,
|
|
44
44
|
mergeKeyBindings,
|
|
45
45
|
wrapWithDelegates
|
|
46
|
-
} from "./chunk-node-
|
|
46
|
+
} from "./chunk-node-kr27pp2p.js";
|
|
47
47
|
import {
|
|
48
48
|
ASCIIFontSelectionHelper,
|
|
49
49
|
ATTRIBUTE_BASE_BITS,
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
visualizeRenderableTree,
|
|
204
204
|
white,
|
|
205
205
|
yellow
|
|
206
|
-
} from "./chunk-node-
|
|
206
|
+
} from "./chunk-node-mfda59vq.js";
|
|
207
207
|
// src/post/effects.ts
|
|
208
208
|
function toU8(value) {
|
|
209
209
|
return Math.round(Math.max(0, Math.min(1, Number.isFinite(value) ? value : 0)) * 255);
|
|
@@ -6218,7 +6218,7 @@ class ASCIIFontRenderable extends FrameBufferRenderable {
|
|
|
6218
6218
|
this.renderFontToBuffer();
|
|
6219
6219
|
this.requestRender();
|
|
6220
6220
|
}
|
|
6221
|
-
return
|
|
6221
|
+
return this.selectionHelper.hasSelection();
|
|
6222
6222
|
}
|
|
6223
6223
|
getSelectedText() {
|
|
6224
6224
|
const selection = this.selectionHelper.getSelection();
|
|
@@ -15569,5 +15569,5 @@ export {
|
|
|
15569
15569
|
ACHROMATOPSIA_MATRIX
|
|
15570
15570
|
};
|
|
15571
15571
|
|
|
15572
|
-
//# debugId=
|
|
15572
|
+
//# debugId=9542D2256201683264756E2164756E21
|
|
15573
15573
|
//# sourceMappingURL=index.node.js.map
|