@opentui/core 0.5.6 → 0.5.7
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/{chunk-bun-9335djz2.js → chunk-bun-xmsp0nqq.js} +109 -45
- package/{chunk-bun-9335djz2.js.map → chunk-bun-xmsp0nqq.js.map} +6 -6
- package/{chunk-bun-da1keqyp.js → chunk-bun-z4gs6jzg.js} +129 -54
- package/chunk-bun-z4gs6jzg.js.map +32 -0
- package/{chunk-node-2h23nsbj.js → chunk-node-267dafd8.js} +109 -45
- package/{chunk-node-2h23nsbj.js.map → chunk-node-267dafd8.js.map} +6 -6
- package/{chunk-node-ks0581vk.js → chunk-node-591ssncm.js} +129 -54
- package/chunk-node-591ssncm.js.map +32 -0
- 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 +10 -1
- package/yoga.bun.js +1 -1
- package/yoga.js +1 -1
- package/zig.d.ts +12 -5
- package/chunk-bun-da1keqyp.js.map +0 -32
- package/chunk-node-ks0581vk.js.map +0 -32
|
@@ -6040,9 +6040,11 @@ class Selection {
|
|
|
6040
6040
|
_isActive = true;
|
|
6041
6041
|
_isDragging = true;
|
|
6042
6042
|
_isStart = false;
|
|
6043
|
-
|
|
6043
|
+
behavior;
|
|
6044
|
+
constructor(anchorRenderable, anchor, focus, behavior = "cell") {
|
|
6044
6045
|
this._anchor = new SelectionAnchor(anchorRenderable, anchor.x, anchor.y);
|
|
6045
6046
|
this._focus = { ...focus };
|
|
6047
|
+
this.behavior = behavior;
|
|
6046
6048
|
}
|
|
6047
6049
|
get isStart() {
|
|
6048
6050
|
return this._isStart;
|
|
@@ -6133,7 +6135,8 @@ function convertGlobalToLocalSelection(globalSelection, localX, localY) {
|
|
|
6133
6135
|
anchorY: globalSelection.anchor.y - localY,
|
|
6134
6136
|
focusX: globalSelection.focus.x - localX,
|
|
6135
6137
|
focusY: globalSelection.focus.y - localY,
|
|
6136
|
-
isActive: true
|
|
6138
|
+
isActive: true,
|
|
6139
|
+
behavior: globalSelection.behavior
|
|
6137
6140
|
};
|
|
6138
6141
|
}
|
|
6139
6142
|
|
|
@@ -6168,36 +6171,37 @@ class ASCIIFontSelectionHelper {
|
|
|
6168
6171
|
}
|
|
6169
6172
|
const text = this.getText();
|
|
6170
6173
|
const font = this.getFont();
|
|
6171
|
-
const
|
|
6172
|
-
const
|
|
6173
|
-
|
|
6174
|
+
const positions = getCharacterPositions(text, font);
|
|
6175
|
+
const minY = Math.min(localSelection.anchorY, localSelection.focusY);
|
|
6176
|
+
const maxY = Math.max(localSelection.anchorY, localSelection.focusY);
|
|
6177
|
+
if (maxY < 0 || minY > height - 1) {
|
|
6174
6178
|
this.localSelection = null;
|
|
6175
6179
|
return previousSelection !== null;
|
|
6176
6180
|
}
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6181
|
+
const indexAt = (x, y) => {
|
|
6182
|
+
if (y < 0)
|
|
6183
|
+
return 0;
|
|
6184
|
+
if (y > height - 1)
|
|
6185
|
+
return text.length;
|
|
6186
|
+
if (x < 0)
|
|
6187
|
+
return 0;
|
|
6188
|
+
if (x >= width)
|
|
6189
|
+
return text.length;
|
|
6190
|
+
for (let index = 1;index < positions.length; index += 1) {
|
|
6191
|
+
if (x < positions[index])
|
|
6192
|
+
return index - 1;
|
|
6185
6193
|
}
|
|
6186
|
-
|
|
6187
|
-
|
|
6194
|
+
return text.length;
|
|
6195
|
+
};
|
|
6196
|
+
const anchorIndex = indexAt(localSelection.anchorX, localSelection.anchorY);
|
|
6197
|
+
const focusIndex = indexAt(localSelection.focusX, localSelection.focusY);
|
|
6198
|
+
const start = Math.min(anchorIndex, focusIndex);
|
|
6199
|
+
const end = Math.min(Math.max(anchorIndex, focusIndex) + 1, text.length);
|
|
6200
|
+
const samePoint = localSelection.anchorX === localSelection.focusX && localSelection.anchorY === localSelection.focusY;
|
|
6201
|
+
if (samePoint || start >= end) {
|
|
6188
6202
|
this.localSelection = null;
|
|
6189
|
-
return previousSelection !== null;
|
|
6190
|
-
} else if (selEnd.y >= 0 && selEnd.y <= height - 1) {
|
|
6191
|
-
if (selEnd.x >= 0) {
|
|
6192
|
-
endCharIndex = coordinateToCharacterIndex(selEnd.x, text, font);
|
|
6193
|
-
} else {
|
|
6194
|
-
endCharIndex = 0;
|
|
6195
|
-
}
|
|
6196
|
-
}
|
|
6197
|
-
if (startCharIndex < endCharIndex && startCharIndex >= 0 && endCharIndex <= text.length) {
|
|
6198
|
-
this.localSelection = { start: startCharIndex, end: endCharIndex };
|
|
6199
6203
|
} else {
|
|
6200
|
-
this.localSelection =
|
|
6204
|
+
this.localSelection = { start, end };
|
|
6201
6205
|
}
|
|
6202
6206
|
return previousSelection?.start !== this.localSelection?.start || previousSelection?.end !== this.localSelection?.end;
|
|
6203
6207
|
}
|
|
@@ -13584,6 +13588,12 @@ function rgbaBuffer(value) {
|
|
|
13584
13588
|
function optionalRgbaBuffer(value) {
|
|
13585
13589
|
return value ? rgbaBuffer(value) : null;
|
|
13586
13590
|
}
|
|
13591
|
+
function selectionBehaviorByte(behavior) {
|
|
13592
|
+
return behavior === "word" ? 1 : behavior === "line" ? 2 : 0;
|
|
13593
|
+
}
|
|
13594
|
+
function editorLocalSelectionFlags(updateCursor, followCursor, behavior) {
|
|
13595
|
+
return ffiBool(updateCursor) | ffiBool(followCursor) << 1 | selectionBehaviorByte(behavior) << 2;
|
|
13596
|
+
}
|
|
13587
13597
|
function getOpenTUILib(libPath) {
|
|
13588
13598
|
const resolvedLibPath = libPath || targetLibPath;
|
|
13589
13599
|
if (!resolvedLibPath) {
|
|
@@ -13751,7 +13761,7 @@ function getOpenTUILib(libPath) {
|
|
|
13751
13761
|
returns: "u64"
|
|
13752
13762
|
},
|
|
13753
13763
|
commitSplitFooterSnapshot: {
|
|
13754
|
-
args: ["u32", "u32", "u32", "
|
|
13764
|
+
args: ["u32", "u32", "u32", "u8", "u32"],
|
|
13755
13765
|
returns: "u64"
|
|
13756
13766
|
},
|
|
13757
13767
|
getNextBuffer: {
|
|
@@ -13775,7 +13785,7 @@ function getOpenTUILib(libPath) {
|
|
|
13775
13785
|
returns: "void"
|
|
13776
13786
|
},
|
|
13777
13787
|
createOptimizedBuffer: {
|
|
13778
|
-
args: ["u32", "u32", "
|
|
13788
|
+
args: ["u32", "u32", "u8", "u8", "buffer", "u32"],
|
|
13779
13789
|
returns: "u32"
|
|
13780
13790
|
},
|
|
13781
13791
|
destroyOptimizedBuffer: {
|
|
@@ -13899,7 +13909,7 @@ function getOpenTUILib(libPath) {
|
|
|
13899
13909
|
returns: "void"
|
|
13900
13910
|
},
|
|
13901
13911
|
setDebugOverlay: {
|
|
13902
|
-
args: ["u32", "
|
|
13912
|
+
args: ["u32", "u8", "u8"],
|
|
13903
13913
|
returns: "void"
|
|
13904
13914
|
},
|
|
13905
13915
|
clearTerminal: {
|
|
@@ -14306,7 +14316,7 @@ function getOpenTUILib(libPath) {
|
|
|
14306
14316
|
returns: "u64"
|
|
14307
14317
|
},
|
|
14308
14318
|
textBufferViewSetLocalSelection: {
|
|
14309
|
-
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr"],
|
|
14319
|
+
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "u8"],
|
|
14310
14320
|
returns: "bool"
|
|
14311
14321
|
},
|
|
14312
14322
|
textBufferViewUpdateSelection: {
|
|
@@ -14314,13 +14324,21 @@ function getOpenTUILib(libPath) {
|
|
|
14314
14324
|
returns: "void"
|
|
14315
14325
|
},
|
|
14316
14326
|
textBufferViewUpdateLocalSelection: {
|
|
14317
|
-
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr"],
|
|
14327
|
+
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "u8"],
|
|
14318
14328
|
returns: "bool"
|
|
14319
14329
|
},
|
|
14320
14330
|
textBufferViewResetLocalSelection: {
|
|
14321
14331
|
args: ["u32"],
|
|
14322
14332
|
returns: "void"
|
|
14323
14333
|
},
|
|
14334
|
+
textBufferViewSetSelectionOccupancy: {
|
|
14335
|
+
args: ["u32", "u8"],
|
|
14336
|
+
returns: "void"
|
|
14337
|
+
},
|
|
14338
|
+
textBufferViewGetSelectionOccupancy: {
|
|
14339
|
+
args: ["u32"],
|
|
14340
|
+
returns: "u8"
|
|
14341
|
+
},
|
|
14324
14342
|
textBufferViewSetWrapWidth: {
|
|
14325
14343
|
args: ["u32", "u32"],
|
|
14326
14344
|
returns: "void"
|
|
@@ -14606,7 +14624,7 @@ function getOpenTUILib(libPath) {
|
|
|
14606
14624
|
returns: "u64"
|
|
14607
14625
|
},
|
|
14608
14626
|
editorViewSetLocalSelection: {
|
|
14609
|
-
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "
|
|
14627
|
+
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "u8"],
|
|
14610
14628
|
returns: "bool"
|
|
14611
14629
|
},
|
|
14612
14630
|
editorViewUpdateSelection: {
|
|
@@ -14614,13 +14632,29 @@ function getOpenTUILib(libPath) {
|
|
|
14614
14632
|
returns: "void"
|
|
14615
14633
|
},
|
|
14616
14634
|
editorViewUpdateLocalSelection: {
|
|
14617
|
-
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "
|
|
14635
|
+
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "u8"],
|
|
14618
14636
|
returns: "bool"
|
|
14619
14637
|
},
|
|
14620
14638
|
editorViewResetLocalSelection: {
|
|
14621
14639
|
args: ["u32"],
|
|
14622
14640
|
returns: "void"
|
|
14623
14641
|
},
|
|
14642
|
+
editorViewConvertSelectionToCell: {
|
|
14643
|
+
args: ["u32"],
|
|
14644
|
+
returns: "bool"
|
|
14645
|
+
},
|
|
14646
|
+
editorViewSetSelectionOccupancy: {
|
|
14647
|
+
args: ["u32", "u8"],
|
|
14648
|
+
returns: "void"
|
|
14649
|
+
},
|
|
14650
|
+
editorViewSetSelectionInclusive: {
|
|
14651
|
+
args: ["u32", "u32", "u32", "ptr", "ptr"],
|
|
14652
|
+
returns: "void"
|
|
14653
|
+
},
|
|
14654
|
+
editorViewSetSelectionColors: {
|
|
14655
|
+
args: ["u32", "ptr", "ptr"],
|
|
14656
|
+
returns: "void"
|
|
14657
|
+
},
|
|
14624
14658
|
editorViewGetSelectedTextBytes: {
|
|
14625
14659
|
args: ["u32", "ptr", "u32"],
|
|
14626
14660
|
returns: "u32"
|
|
@@ -14673,6 +14707,10 @@ function getOpenTUILib(libPath) {
|
|
|
14673
14707
|
args: ["u32", "ptr"],
|
|
14674
14708
|
returns: "void"
|
|
14675
14709
|
},
|
|
14710
|
+
editorViewGotoVisualLineEnd: {
|
|
14711
|
+
args: ["u32"],
|
|
14712
|
+
returns: "void"
|
|
14713
|
+
},
|
|
14676
14714
|
editorViewSetPlaceholderStyledText: {
|
|
14677
14715
|
args: ["u32", "ptr", "u32"],
|
|
14678
14716
|
returns: "void"
|
|
@@ -15117,7 +15155,7 @@ function getOpenTUILib(libPath) {
|
|
|
15117
15155
|
returns: "i32"
|
|
15118
15156
|
},
|
|
15119
15157
|
audioEnableTap: {
|
|
15120
|
-
args: ["u32", "
|
|
15158
|
+
args: ["u32", "u8", "u32"],
|
|
15121
15159
|
returns: "i32"
|
|
15122
15160
|
},
|
|
15123
15161
|
audioReadTap: {
|
|
@@ -15948,7 +15986,8 @@ class FFIRenderLib {
|
|
|
15948
15986
|
return this.unpackRenderOperationResult(this.opentui.symbols.repaintSplitFooter(renderer, pinnedRenderOffset, ffiBool(force)));
|
|
15949
15987
|
}
|
|
15950
15988
|
commitSplitFooterSnapshot(renderer, snapshot, rowColumns, startOnNewLine, trailingNewline, pinnedRenderOffset, force, beginFrame = true, finalizeFrame = true) {
|
|
15951
|
-
|
|
15989
|
+
const flags = ffiBool(startOnNewLine) | ffiBool(trailingNewline) << 1 | ffiBool(force) << 2 | ffiBool(beginFrame) << 3 | ffiBool(finalizeFrame) << 4;
|
|
15990
|
+
return this.unpackRenderOperationResult(this.opentui.symbols.commitSplitFooterSnapshot(renderer, snapshot.ptr, rowColumns, flags, pinnedRenderOffset));
|
|
15952
15991
|
}
|
|
15953
15992
|
createOptimizedBuffer(width, height, widthMethod, respectAlpha = false, id) {
|
|
15954
15993
|
if (Number.isNaN(width) || Number.isNaN(height)) {
|
|
@@ -16486,24 +16525,30 @@ class FFIRenderLib {
|
|
|
16486
16525
|
textBufferViewGetSelectionInfo(view) {
|
|
16487
16526
|
return this.opentui.symbols.textBufferViewGetSelectionInfo(view);
|
|
16488
16527
|
}
|
|
16489
|
-
textBufferViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor) {
|
|
16528
|
+
textBufferViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, behavior) {
|
|
16490
16529
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16491
16530
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16492
|
-
return Boolean(this.opentui.symbols.textBufferViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2));
|
|
16531
|
+
return Boolean(this.opentui.symbols.textBufferViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2, selectionBehaviorByte(behavior)));
|
|
16493
16532
|
}
|
|
16494
16533
|
textBufferViewUpdateSelection(view, end, bgColor, fgColor) {
|
|
16495
16534
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16496
16535
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16497
16536
|
this.opentui.symbols.textBufferViewUpdateSelection(view, end, bg2, fg2);
|
|
16498
16537
|
}
|
|
16499
|
-
textBufferViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor) {
|
|
16538
|
+
textBufferViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, behavior) {
|
|
16500
16539
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16501
16540
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16502
|
-
return Boolean(this.opentui.symbols.textBufferViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2));
|
|
16541
|
+
return Boolean(this.opentui.symbols.textBufferViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2, selectionBehaviorByte(behavior)));
|
|
16503
16542
|
}
|
|
16504
16543
|
textBufferViewResetLocalSelection(view) {
|
|
16505
16544
|
this.opentui.symbols.textBufferViewResetLocalSelection(view);
|
|
16506
16545
|
}
|
|
16546
|
+
textBufferViewSetSelectionOccupancy(view, occupancy) {
|
|
16547
|
+
this.opentui.symbols.textBufferViewSetSelectionOccupancy(view, occupancy === "boundary" ? 1 : 0);
|
|
16548
|
+
}
|
|
16549
|
+
textBufferViewGetSelectionOccupancy(view) {
|
|
16550
|
+
return this.opentui.symbols.textBufferViewGetSelectionOccupancy(view) === 1 ? "boundary" : "cell";
|
|
16551
|
+
}
|
|
16507
16552
|
textBufferViewSetWrapWidth(view, width) {
|
|
16508
16553
|
this.opentui.symbols.textBufferViewSetWrapWidth(view, width);
|
|
16509
16554
|
}
|
|
@@ -16933,24 +16978,40 @@ class FFIRenderLib {
|
|
|
16933
16978
|
const end = Number(packedInfo & 0xffff_ffffn);
|
|
16934
16979
|
return { start, end };
|
|
16935
16980
|
}
|
|
16936
|
-
editorViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, updateCursor, followCursor) {
|
|
16981
|
+
editorViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, updateCursor, followCursor, behavior) {
|
|
16937
16982
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16938
16983
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16939
|
-
return Boolean(this.opentui.symbols.editorViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2,
|
|
16984
|
+
return Boolean(this.opentui.symbols.editorViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2, editorLocalSelectionFlags(updateCursor, followCursor, behavior)));
|
|
16940
16985
|
}
|
|
16941
16986
|
editorViewUpdateSelection(view, end, bgColor, fgColor) {
|
|
16942
16987
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16943
16988
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16944
16989
|
this.opentui.symbols.editorViewUpdateSelection(view, end, bg2, fg2);
|
|
16945
16990
|
}
|
|
16946
|
-
editorViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, updateCursor, followCursor) {
|
|
16991
|
+
editorViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, updateCursor, followCursor, behavior) {
|
|
16947
16992
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16948
16993
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16949
|
-
return Boolean(this.opentui.symbols.editorViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2,
|
|
16994
|
+
return Boolean(this.opentui.symbols.editorViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2, editorLocalSelectionFlags(updateCursor, followCursor, behavior)));
|
|
16950
16995
|
}
|
|
16951
16996
|
editorViewResetLocalSelection(view) {
|
|
16952
16997
|
this.opentui.symbols.editorViewResetLocalSelection(view);
|
|
16953
16998
|
}
|
|
16999
|
+
editorViewConvertSelectionToCell(view) {
|
|
17000
|
+
return Boolean(this.opentui.symbols.editorViewConvertSelectionToCell(view));
|
|
17001
|
+
}
|
|
17002
|
+
editorViewSetSelectionOccupancy(view, occupancy) {
|
|
17003
|
+
this.opentui.symbols.editorViewSetSelectionOccupancy(view, occupancy === "boundary" ? 1 : 0);
|
|
17004
|
+
}
|
|
17005
|
+
editorViewSetSelectionInclusive(view, start, end, bgColor, fgColor) {
|
|
17006
|
+
const bg2 = optionalRgbaBuffer(bgColor);
|
|
17007
|
+
const fg2 = optionalRgbaBuffer(fgColor);
|
|
17008
|
+
this.opentui.symbols.editorViewSetSelectionInclusive(view, start, end, bg2, fg2);
|
|
17009
|
+
}
|
|
17010
|
+
editorViewSetSelectionColors(view, bgColor, fgColor) {
|
|
17011
|
+
const bg2 = optionalRgbaBuffer(bgColor);
|
|
17012
|
+
const fg2 = optionalRgbaBuffer(fgColor);
|
|
17013
|
+
this.opentui.symbols.editorViewSetSelectionColors(view, bg2, fg2);
|
|
17014
|
+
}
|
|
16954
17015
|
editorViewGetSelectedTextBytes(view, maxLength) {
|
|
16955
17016
|
const outBuffer = new Uint8Array(maxLength);
|
|
16956
17017
|
const actualLen = this.opentui.symbols.editorViewGetSelectedTextBytes(view, viewOrNull(outBuffer), maxLength);
|
|
@@ -17021,6 +17082,9 @@ class FFIRenderLib {
|
|
|
17021
17082
|
const cursor = VisualCursorStruct.unpackInto(storage.view, storage.result);
|
|
17022
17083
|
return { ...cursor };
|
|
17023
17084
|
}
|
|
17085
|
+
editorViewGotoVisualLineEnd(view) {
|
|
17086
|
+
this.opentui.symbols.editorViewGotoVisualLineEnd(view);
|
|
17087
|
+
}
|
|
17024
17088
|
bufferPushScissorRect(buffer, x, y, width, height) {
|
|
17025
17089
|
this.opentui.symbols.bufferPushScissorRect(buffer, x, y, width, height);
|
|
17026
17090
|
}
|
|
@@ -18535,5 +18599,5 @@ var yoga_default = Yoga;
|
|
|
18535
18599
|
|
|
18536
18600
|
export { toArrayBuffer, singleton, envRegistry, registerEnvVar, clearEnvCache, generateEnvMarkdown, generateEnvColored, env, sleep, stringWidth2 as stringWidth, resolveBundledFilePath, DEFAULT_FOREGROUND_RGB, DEFAULT_BACKGROUND_RGB, normalizeIndexedColorIndex, ansi256IndexToRgb, RGBA, normalizeColorValue, hexToRgb, rgbToHex, hsvToRgb, parseColor, isValidBorderStyle, parseBorderStyle, BorderChars, getBorderFromSides, getBorderSides, borderCharsToArray, BorderCharArrays, KeyEvent, PasteEvent, KeyHandler, InternalKeyHandler, fonts, measureText, getCharacterPositions, coordinateToCharacterIndex, renderFontToFrameBuffer, TextAttributes, ATTRIBUTE_BASE_BITS, ATTRIBUTE_BASE_MASK, getBaseAttributes, DebugOverlayCorner, TargetChannel, createTextAttributes, attributesWithLink, getLinkId, visualizeRenderableTree, isStyledText, StyledText, stringToStyledText, black, red, green, yellow, blue, magenta, cyan, white, brightBlack, brightRed, brightGreen, brightYellow, brightBlue, brightMagenta, brightCyan, brightWhite, bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite, bold, italic, underline, strikethrough, dim, reverse, blink, fg, bg, link, t, hastToStyledText, SystemClock, nonAlphanumericKeys, terminalNamedSingleStrokeKeys, parseKeypress, LinearScrollAccel, MacOSScrollAccel, parseAlign, parseAlignItems, parseBoxSizing, parseDimension, parseDirection, parseDisplay, parseEdge, parseFlexDirection, parseGutter, parseJustify, parseLogLevel, parseMeasureMode, parseOverflow, parsePositionType, parseUnit, parseWrap, MouseParser, Selection, convertGlobalToLocalSelection, ASCIIFontSelectionHelper, StdinParser, treeSitterToTextChunks, treeSitterToStyledText, addDefaultParsers, TreeSitterClient, DataPathsManager, getDataPaths, extensionToFiletype, basenameToFiletype, extToFiletype, pathToFiletype, infoStringToFiletype, getTreeSitterClient, destroyTreeSitterClient, ExtmarksController, createExtmarksController, TerminalPalette, createTerminalPalette, normalizeTerminalPalette, buildTerminalPaletteSignature, decodePasteBytes, stripAnsiSequences, createHostClipboard, createClipboard, ClipboardTarget, createRendererClipboardAdapter, Clipboard, detectLinks, OptimizedBuffer, TextBuffer, SpanInfoStruct, NativeAudioStreamFormat, NativeAudioStreamState, NativeAudioStreamStateNames, NativeAudioStreamCloseReason, NativeAudioStreamState2 as NativeAudioStreamState1, NativeAudioStreamCloseReason2 as NativeAudioStreamCloseReason1, NativeAudioStreamFormat2 as NativeAudioStreamFormat1, NativeClipboardOperationStatus, NativeClipboardStartStatus, NativeClipboardCancelStatus, NativeClipboardCopyStatus, NativeClipboardDestroyStatus, NativeClipboardShutdownStatus, LogLevel2 as LogLevel, NativeMeasureTargetKind, setRenderLibPath, resolveRenderLib, Align, BoxSizing, Dimension, Direction, Display, Edge, Errata, ExperimentalFeature, FlexDirection, Gutter, Justify, LogLevel as LogLevel1, MeasureMode, NodeType, Overflow, PositionType, Unit, Wrap, ALIGN_AUTO, ALIGN_FLEX_START, ALIGN_CENTER, ALIGN_FLEX_END, ALIGN_STRETCH, ALIGN_BASELINE, ALIGN_SPACE_BETWEEN, ALIGN_SPACE_AROUND, ALIGN_SPACE_EVENLY, BOX_SIZING_BORDER_BOX, BOX_SIZING_CONTENT_BOX, DIMENSION_WIDTH, DIMENSION_HEIGHT, DIRECTION_INHERIT, DIRECTION_LTR, DIRECTION_RTL, DISPLAY_FLEX, DISPLAY_NONE, DISPLAY_CONTENTS, EDGE_LEFT, EDGE_TOP, EDGE_RIGHT, EDGE_BOTTOM, EDGE_START, EDGE_END, EDGE_HORIZONTAL, EDGE_VERTICAL, EDGE_ALL, ERRATA_NONE, ERRATA_STRETCH_FLEX_BASIS, ERRATA_ABSOLUTE_POSITION_WITHOUT_INSETS_EXCLUDES_PADDING, ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE, ERRATA_ALL, ERRATA_CLASSIC, EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS, FLEX_DIRECTION_COLUMN, FLEX_DIRECTION_COLUMN_REVERSE, FLEX_DIRECTION_ROW, FLEX_DIRECTION_ROW_REVERSE, GUTTER_COLUMN, GUTTER_ROW, GUTTER_ALL, JUSTIFY_FLEX_START, JUSTIFY_CENTER, JUSTIFY_FLEX_END, JUSTIFY_SPACE_BETWEEN, JUSTIFY_SPACE_AROUND, JUSTIFY_SPACE_EVENLY, LOG_LEVEL_ERROR, LOG_LEVEL_WARN, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_VERBOSE, LOG_LEVEL_FATAL, MEASURE_MODE_UNDEFINED, MEASURE_MODE_EXACTLY, MEASURE_MODE_AT_MOST, NODE_TYPE_DEFAULT, NODE_TYPE_TEXT, OVERFLOW_VISIBLE, OVERFLOW_HIDDEN, OVERFLOW_SCROLL, POSITION_TYPE_STATIC, POSITION_TYPE_RELATIVE, POSITION_TYPE_ABSOLUTE, UNIT_UNDEFINED, UNIT_POINT, UNIT_PERCENT, UNIT_AUTO, WRAP_NO_WRAP, WRAP_WRAP, WRAP_WRAP_REVERSE, Config, Node, exports_yoga, yoga_default };
|
|
18537
18601
|
|
|
18538
|
-
//# debugId=
|
|
18539
|
-
//# sourceMappingURL=chunk-bun-
|
|
18602
|
+
//# debugId=CCD1F52D948CB76B64756E2164756E21
|
|
18603
|
+
//# sourceMappingURL=chunk-bun-xmsp0nqq.js.map
|