@opentui/core 0.5.7 → 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-xmsp0nqq.js → chunk-bun-2956gvaq.js} +24 -14
- package/{chunk-bun-xmsp0nqq.js.map → chunk-bun-2956gvaq.js.map} +6 -6
- package/{chunk-bun-z4gs6jzg.js → chunk-bun-b3exa82d.js} +6 -7
- package/{chunk-bun-z4gs6jzg.js.map → chunk-bun-b3exa82d.js.map} +3 -3
- package/{chunk-node-591ssncm.js → chunk-node-kr27pp2p.js} +6 -7
- package/{chunk-node-591ssncm.js.map → chunk-node-kr27pp2p.js.map} +3 -3
- package/{chunk-node-267dafd8.js → chunk-node-mfda59vq.js} +24 -14
- package/{chunk-node-267dafd8.js.map → chunk-node-mfda59vq.js.map} +6 -6
- package/index.bun.js +2 -2
- package/index.node.js +2 -2
- package/package.json +9 -9
- package/testing.bun.js +2 -2
- package/testing.js +2 -2
- package/types.d.ts +1 -1
- package/yoga.bun.js +1 -1
- package/yoga.js +1 -1
- package/zig-structs.d.ts +1 -0
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
toArrayBuffer,
|
|
42
42
|
treeSitterToTextChunks,
|
|
43
43
|
yoga_default
|
|
44
|
-
} from "./chunk-bun-
|
|
44
|
+
} from "./chunk-bun-2956gvaq.js";
|
|
45
45
|
|
|
46
46
|
// src/Renderable.ts
|
|
47
47
|
import { EventEmitter } from "events";
|
|
@@ -7608,8 +7608,7 @@ Captured external output:
|
|
|
7608
7608
|
this.lib.hitGridClearScissorRects(this.rendererPtr);
|
|
7609
7609
|
}
|
|
7610
7610
|
get widthMethod() {
|
|
7611
|
-
|
|
7612
|
-
return caps?.unicode === "wcwidth" ? "wcwidth" : "unicode";
|
|
7611
|
+
return this.capabilities?.unicode ?? this.nextRenderBuffer.widthMethod;
|
|
7613
7612
|
}
|
|
7614
7613
|
get frameId() {
|
|
7615
7614
|
return this._frameId;
|
|
@@ -9168,7 +9167,7 @@ Captured external output:
|
|
|
9168
9167
|
}
|
|
9169
9168
|
return true;
|
|
9170
9169
|
}
|
|
9171
|
-
if (mouseEvent.type === "up" && this.currentSelection?.isDragging) {
|
|
9170
|
+
if (mouseEvent.type === "up" && mouseEvent.button === 0 /* LEFT */ && this.currentSelection?.isDragging) {
|
|
9172
9171
|
if (maybeRenderable) {
|
|
9173
9172
|
const event2 = new MouseEvent(maybeRenderable, {
|
|
9174
9173
|
...mouseEvent,
|
|
@@ -9241,7 +9240,7 @@ Captured external output:
|
|
|
9241
9240
|
this.setCapturedRenderable(undefined);
|
|
9242
9241
|
this.lastOverRenderable = undefined;
|
|
9243
9242
|
}
|
|
9244
|
-
if (!event?.defaultPrevented && mouseEvent.type === "down" && this.currentSelection) {
|
|
9243
|
+
if (!event?.defaultPrevented && mouseEvent.type === "down" && mouseEvent.button === 0 /* LEFT */ && this.currentSelection) {
|
|
9245
9244
|
this.clearSelection();
|
|
9246
9245
|
}
|
|
9247
9246
|
return true;
|
|
@@ -10310,5 +10309,5 @@ Captured external output:
|
|
|
10310
10309
|
|
|
10311
10310
|
export { h, isVNode, maybeMakeRenderable, wrapWithDelegates, instantiate, delegate, LayoutEvents, RenderableEvents, isRenderable, BaseRenderable, Renderable, RootRenderable, TextBufferView, EditBuffer, EditorView, convertThemeToStyles, SyntaxStyle, ANSI, BoxRenderable, TextBufferRenderable, CodeRenderable, isTextNodeRenderable, TextNodeRenderable, RootTextNodeRenderable, TextRenderable, NativeSpanFeed, defaultKeyAliases, mergeKeyAliases, mergeKeyBindings, getKeyBindingAction, buildKeyBindingsMap, capture, ConsolePosition, TerminalConsole, getObjectsInViewport, EditBufferRenderableEvents, isEditBufferRenderable, EditBufferRenderable, buildKittyKeyboardFlags, MouseEvent, MouseButton, createCliRenderer, CliRenderEvents, RendererControlState, CliRenderer };
|
|
10312
10311
|
|
|
10313
|
-
//# debugId=
|
|
10314
|
-
//# sourceMappingURL=chunk-bun-
|
|
10312
|
+
//# debugId=9482A117F731D7E464756E2164756E21
|
|
10313
|
+
//# sourceMappingURL=chunk-bun-b3exa82d.js.map
|