@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
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
toArrayBuffer,
|
|
41
41
|
treeSitterToTextChunks,
|
|
42
42
|
yoga_default
|
|
43
|
-
} from "./chunk-node-
|
|
43
|
+
} from "./chunk-node-mfda59vq.js";
|
|
44
44
|
|
|
45
45
|
// src/Renderable.ts
|
|
46
46
|
import { EventEmitter } from "events";
|
|
@@ -7607,8 +7607,7 @@ Captured external output:
|
|
|
7607
7607
|
this.lib.hitGridClearScissorRects(this.rendererPtr);
|
|
7608
7608
|
}
|
|
7609
7609
|
get widthMethod() {
|
|
7610
|
-
|
|
7611
|
-
return caps?.unicode === "wcwidth" ? "wcwidth" : "unicode";
|
|
7610
|
+
return this.capabilities?.unicode ?? this.nextRenderBuffer.widthMethod;
|
|
7612
7611
|
}
|
|
7613
7612
|
get frameId() {
|
|
7614
7613
|
return this._frameId;
|
|
@@ -9167,7 +9166,7 @@ Captured external output:
|
|
|
9167
9166
|
}
|
|
9168
9167
|
return true;
|
|
9169
9168
|
}
|
|
9170
|
-
if (mouseEvent.type === "up" && this.currentSelection?.isDragging) {
|
|
9169
|
+
if (mouseEvent.type === "up" && mouseEvent.button === 0 /* LEFT */ && this.currentSelection?.isDragging) {
|
|
9171
9170
|
if (maybeRenderable) {
|
|
9172
9171
|
const event2 = new MouseEvent(maybeRenderable, {
|
|
9173
9172
|
...mouseEvent,
|
|
@@ -9240,7 +9239,7 @@ Captured external output:
|
|
|
9240
9239
|
this.setCapturedRenderable(undefined);
|
|
9241
9240
|
this.lastOverRenderable = undefined;
|
|
9242
9241
|
}
|
|
9243
|
-
if (!event?.defaultPrevented && mouseEvent.type === "down" && this.currentSelection) {
|
|
9242
|
+
if (!event?.defaultPrevented && mouseEvent.type === "down" && mouseEvent.button === 0 /* LEFT */ && this.currentSelection) {
|
|
9244
9243
|
this.clearSelection();
|
|
9245
9244
|
}
|
|
9246
9245
|
return true;
|
|
@@ -10309,5 +10308,5 @@ Captured external output:
|
|
|
10309
10308
|
|
|
10310
10309
|
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 };
|
|
10311
10310
|
|
|
10312
|
-
//# debugId=
|
|
10313
|
-
//# sourceMappingURL=chunk-node-
|
|
10311
|
+
//# debugId=DFE44A27128A73E264756E2164756E21
|
|
10312
|
+
//# sourceMappingURL=chunk-node-kr27pp2p.js.map
|