@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
|
@@ -6071,9 +6071,11 @@ class Selection {
|
|
|
6071
6071
|
_isActive = true;
|
|
6072
6072
|
_isDragging = true;
|
|
6073
6073
|
_isStart = false;
|
|
6074
|
-
|
|
6074
|
+
behavior;
|
|
6075
|
+
constructor(anchorRenderable, anchor, focus, behavior = "cell") {
|
|
6075
6076
|
this._anchor = new SelectionAnchor(anchorRenderable, anchor.x, anchor.y);
|
|
6076
6077
|
this._focus = { ...focus };
|
|
6078
|
+
this.behavior = behavior;
|
|
6077
6079
|
}
|
|
6078
6080
|
get isStart() {
|
|
6079
6081
|
return this._isStart;
|
|
@@ -6164,7 +6166,8 @@ function convertGlobalToLocalSelection(globalSelection, localX, localY) {
|
|
|
6164
6166
|
anchorY: globalSelection.anchor.y - localY,
|
|
6165
6167
|
focusX: globalSelection.focus.x - localX,
|
|
6166
6168
|
focusY: globalSelection.focus.y - localY,
|
|
6167
|
-
isActive: true
|
|
6169
|
+
isActive: true,
|
|
6170
|
+
behavior: globalSelection.behavior
|
|
6168
6171
|
};
|
|
6169
6172
|
}
|
|
6170
6173
|
|
|
@@ -6199,36 +6202,37 @@ class ASCIIFontSelectionHelper {
|
|
|
6199
6202
|
}
|
|
6200
6203
|
const text = this.getText();
|
|
6201
6204
|
const font = this.getFont();
|
|
6202
|
-
const
|
|
6203
|
-
const
|
|
6204
|
-
|
|
6205
|
+
const positions = getCharacterPositions(text, font);
|
|
6206
|
+
const minY = Math.min(localSelection.anchorY, localSelection.focusY);
|
|
6207
|
+
const maxY = Math.max(localSelection.anchorY, localSelection.focusY);
|
|
6208
|
+
if (maxY < 0 || minY > height - 1) {
|
|
6205
6209
|
this.localSelection = null;
|
|
6206
6210
|
return previousSelection !== null;
|
|
6207
6211
|
}
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6212
|
+
const indexAt = (x, y) => {
|
|
6213
|
+
if (y < 0)
|
|
6214
|
+
return 0;
|
|
6215
|
+
if (y > height - 1)
|
|
6216
|
+
return text.length;
|
|
6217
|
+
if (x < 0)
|
|
6218
|
+
return 0;
|
|
6219
|
+
if (x >= width)
|
|
6220
|
+
return text.length;
|
|
6221
|
+
for (let index = 1;index < positions.length; index += 1) {
|
|
6222
|
+
if (x < positions[index])
|
|
6223
|
+
return index - 1;
|
|
6216
6224
|
}
|
|
6217
|
-
|
|
6218
|
-
|
|
6225
|
+
return text.length;
|
|
6226
|
+
};
|
|
6227
|
+
const anchorIndex = indexAt(localSelection.anchorX, localSelection.anchorY);
|
|
6228
|
+
const focusIndex = indexAt(localSelection.focusX, localSelection.focusY);
|
|
6229
|
+
const start = Math.min(anchorIndex, focusIndex);
|
|
6230
|
+
const end = Math.min(Math.max(anchorIndex, focusIndex) + 1, text.length);
|
|
6231
|
+
const samePoint = localSelection.anchorX === localSelection.focusX && localSelection.anchorY === localSelection.focusY;
|
|
6232
|
+
if (samePoint || start >= end) {
|
|
6219
6233
|
this.localSelection = null;
|
|
6220
|
-
return previousSelection !== null;
|
|
6221
|
-
} else if (selEnd.y >= 0 && selEnd.y <= height - 1) {
|
|
6222
|
-
if (selEnd.x >= 0) {
|
|
6223
|
-
endCharIndex = coordinateToCharacterIndex(selEnd.x, text, font);
|
|
6224
|
-
} else {
|
|
6225
|
-
endCharIndex = 0;
|
|
6226
|
-
}
|
|
6227
|
-
}
|
|
6228
|
-
if (startCharIndex < endCharIndex && startCharIndex >= 0 && endCharIndex <= text.length) {
|
|
6229
|
-
this.localSelection = { start: startCharIndex, end: endCharIndex };
|
|
6230
6234
|
} else {
|
|
6231
|
-
this.localSelection =
|
|
6235
|
+
this.localSelection = { start, end };
|
|
6232
6236
|
}
|
|
6233
6237
|
return previousSelection?.start !== this.localSelection?.start || previousSelection?.end !== this.localSelection?.end;
|
|
6234
6238
|
}
|
|
@@ -13563,6 +13567,12 @@ function rgbaBuffer(value) {
|
|
|
13563
13567
|
function optionalRgbaBuffer(value) {
|
|
13564
13568
|
return value ? rgbaBuffer(value) : null;
|
|
13565
13569
|
}
|
|
13570
|
+
function selectionBehaviorByte(behavior) {
|
|
13571
|
+
return behavior === "word" ? 1 : behavior === "line" ? 2 : 0;
|
|
13572
|
+
}
|
|
13573
|
+
function editorLocalSelectionFlags(updateCursor, followCursor, behavior) {
|
|
13574
|
+
return ffiBool(updateCursor) | ffiBool(followCursor) << 1 | selectionBehaviorByte(behavior) << 2;
|
|
13575
|
+
}
|
|
13566
13576
|
function getOpenTUILib(libPath) {
|
|
13567
13577
|
const resolvedLibPath = libPath || targetLibPath;
|
|
13568
13578
|
if (!resolvedLibPath) {
|
|
@@ -13730,7 +13740,7 @@ function getOpenTUILib(libPath) {
|
|
|
13730
13740
|
returns: "u64"
|
|
13731
13741
|
},
|
|
13732
13742
|
commitSplitFooterSnapshot: {
|
|
13733
|
-
args: ["u32", "u32", "u32", "
|
|
13743
|
+
args: ["u32", "u32", "u32", "u8", "u32"],
|
|
13734
13744
|
returns: "u64"
|
|
13735
13745
|
},
|
|
13736
13746
|
getNextBuffer: {
|
|
@@ -13754,7 +13764,7 @@ function getOpenTUILib(libPath) {
|
|
|
13754
13764
|
returns: "void"
|
|
13755
13765
|
},
|
|
13756
13766
|
createOptimizedBuffer: {
|
|
13757
|
-
args: ["u32", "u32", "
|
|
13767
|
+
args: ["u32", "u32", "u8", "u8", "buffer", "u32"],
|
|
13758
13768
|
returns: "u32"
|
|
13759
13769
|
},
|
|
13760
13770
|
destroyOptimizedBuffer: {
|
|
@@ -13878,7 +13888,7 @@ function getOpenTUILib(libPath) {
|
|
|
13878
13888
|
returns: "void"
|
|
13879
13889
|
},
|
|
13880
13890
|
setDebugOverlay: {
|
|
13881
|
-
args: ["u32", "
|
|
13891
|
+
args: ["u32", "u8", "u8"],
|
|
13882
13892
|
returns: "void"
|
|
13883
13893
|
},
|
|
13884
13894
|
clearTerminal: {
|
|
@@ -14285,7 +14295,7 @@ function getOpenTUILib(libPath) {
|
|
|
14285
14295
|
returns: "u64"
|
|
14286
14296
|
},
|
|
14287
14297
|
textBufferViewSetLocalSelection: {
|
|
14288
|
-
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr"],
|
|
14298
|
+
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "u8"],
|
|
14289
14299
|
returns: "bool"
|
|
14290
14300
|
},
|
|
14291
14301
|
textBufferViewUpdateSelection: {
|
|
@@ -14293,13 +14303,21 @@ function getOpenTUILib(libPath) {
|
|
|
14293
14303
|
returns: "void"
|
|
14294
14304
|
},
|
|
14295
14305
|
textBufferViewUpdateLocalSelection: {
|
|
14296
|
-
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr"],
|
|
14306
|
+
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "u8"],
|
|
14297
14307
|
returns: "bool"
|
|
14298
14308
|
},
|
|
14299
14309
|
textBufferViewResetLocalSelection: {
|
|
14300
14310
|
args: ["u32"],
|
|
14301
14311
|
returns: "void"
|
|
14302
14312
|
},
|
|
14313
|
+
textBufferViewSetSelectionOccupancy: {
|
|
14314
|
+
args: ["u32", "u8"],
|
|
14315
|
+
returns: "void"
|
|
14316
|
+
},
|
|
14317
|
+
textBufferViewGetSelectionOccupancy: {
|
|
14318
|
+
args: ["u32"],
|
|
14319
|
+
returns: "u8"
|
|
14320
|
+
},
|
|
14303
14321
|
textBufferViewSetWrapWidth: {
|
|
14304
14322
|
args: ["u32", "u32"],
|
|
14305
14323
|
returns: "void"
|
|
@@ -14585,7 +14603,7 @@ function getOpenTUILib(libPath) {
|
|
|
14585
14603
|
returns: "u64"
|
|
14586
14604
|
},
|
|
14587
14605
|
editorViewSetLocalSelection: {
|
|
14588
|
-
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "
|
|
14606
|
+
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "u8"],
|
|
14589
14607
|
returns: "bool"
|
|
14590
14608
|
},
|
|
14591
14609
|
editorViewUpdateSelection: {
|
|
@@ -14593,13 +14611,29 @@ function getOpenTUILib(libPath) {
|
|
|
14593
14611
|
returns: "void"
|
|
14594
14612
|
},
|
|
14595
14613
|
editorViewUpdateLocalSelection: {
|
|
14596
|
-
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "
|
|
14614
|
+
args: ["u32", "i32", "i32", "i32", "i32", "ptr", "ptr", "u8"],
|
|
14597
14615
|
returns: "bool"
|
|
14598
14616
|
},
|
|
14599
14617
|
editorViewResetLocalSelection: {
|
|
14600
14618
|
args: ["u32"],
|
|
14601
14619
|
returns: "void"
|
|
14602
14620
|
},
|
|
14621
|
+
editorViewConvertSelectionToCell: {
|
|
14622
|
+
args: ["u32"],
|
|
14623
|
+
returns: "bool"
|
|
14624
|
+
},
|
|
14625
|
+
editorViewSetSelectionOccupancy: {
|
|
14626
|
+
args: ["u32", "u8"],
|
|
14627
|
+
returns: "void"
|
|
14628
|
+
},
|
|
14629
|
+
editorViewSetSelectionInclusive: {
|
|
14630
|
+
args: ["u32", "u32", "u32", "ptr", "ptr"],
|
|
14631
|
+
returns: "void"
|
|
14632
|
+
},
|
|
14633
|
+
editorViewSetSelectionColors: {
|
|
14634
|
+
args: ["u32", "ptr", "ptr"],
|
|
14635
|
+
returns: "void"
|
|
14636
|
+
},
|
|
14603
14637
|
editorViewGetSelectedTextBytes: {
|
|
14604
14638
|
args: ["u32", "ptr", "u32"],
|
|
14605
14639
|
returns: "u32"
|
|
@@ -14652,6 +14686,10 @@ function getOpenTUILib(libPath) {
|
|
|
14652
14686
|
args: ["u32", "ptr"],
|
|
14653
14687
|
returns: "void"
|
|
14654
14688
|
},
|
|
14689
|
+
editorViewGotoVisualLineEnd: {
|
|
14690
|
+
args: ["u32"],
|
|
14691
|
+
returns: "void"
|
|
14692
|
+
},
|
|
14655
14693
|
editorViewSetPlaceholderStyledText: {
|
|
14656
14694
|
args: ["u32", "ptr", "u32"],
|
|
14657
14695
|
returns: "void"
|
|
@@ -15096,7 +15134,7 @@ function getOpenTUILib(libPath) {
|
|
|
15096
15134
|
returns: "i32"
|
|
15097
15135
|
},
|
|
15098
15136
|
audioEnableTap: {
|
|
15099
|
-
args: ["u32", "
|
|
15137
|
+
args: ["u32", "u8", "u32"],
|
|
15100
15138
|
returns: "i32"
|
|
15101
15139
|
},
|
|
15102
15140
|
audioReadTap: {
|
|
@@ -15927,7 +15965,8 @@ class FFIRenderLib {
|
|
|
15927
15965
|
return this.unpackRenderOperationResult(this.opentui.symbols.repaintSplitFooter(renderer, pinnedRenderOffset, ffiBool(force)));
|
|
15928
15966
|
}
|
|
15929
15967
|
commitSplitFooterSnapshot(renderer, snapshot, rowColumns, startOnNewLine, trailingNewline, pinnedRenderOffset, force, beginFrame = true, finalizeFrame = true) {
|
|
15930
|
-
|
|
15968
|
+
const flags = ffiBool(startOnNewLine) | ffiBool(trailingNewline) << 1 | ffiBool(force) << 2 | ffiBool(beginFrame) << 3 | ffiBool(finalizeFrame) << 4;
|
|
15969
|
+
return this.unpackRenderOperationResult(this.opentui.symbols.commitSplitFooterSnapshot(renderer, snapshot.ptr, rowColumns, flags, pinnedRenderOffset));
|
|
15931
15970
|
}
|
|
15932
15971
|
createOptimizedBuffer(width, height, widthMethod, respectAlpha = false, id) {
|
|
15933
15972
|
if (Number.isNaN(width) || Number.isNaN(height)) {
|
|
@@ -16465,24 +16504,30 @@ class FFIRenderLib {
|
|
|
16465
16504
|
textBufferViewGetSelectionInfo(view) {
|
|
16466
16505
|
return this.opentui.symbols.textBufferViewGetSelectionInfo(view);
|
|
16467
16506
|
}
|
|
16468
|
-
textBufferViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor) {
|
|
16507
|
+
textBufferViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, behavior) {
|
|
16469
16508
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16470
16509
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16471
|
-
return Boolean(this.opentui.symbols.textBufferViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2));
|
|
16510
|
+
return Boolean(this.opentui.symbols.textBufferViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2, selectionBehaviorByte(behavior)));
|
|
16472
16511
|
}
|
|
16473
16512
|
textBufferViewUpdateSelection(view, end, bgColor, fgColor) {
|
|
16474
16513
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16475
16514
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16476
16515
|
this.opentui.symbols.textBufferViewUpdateSelection(view, end, bg2, fg2);
|
|
16477
16516
|
}
|
|
16478
|
-
textBufferViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor) {
|
|
16517
|
+
textBufferViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, behavior) {
|
|
16479
16518
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16480
16519
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16481
|
-
return Boolean(this.opentui.symbols.textBufferViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2));
|
|
16520
|
+
return Boolean(this.opentui.symbols.textBufferViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2, selectionBehaviorByte(behavior)));
|
|
16482
16521
|
}
|
|
16483
16522
|
textBufferViewResetLocalSelection(view) {
|
|
16484
16523
|
this.opentui.symbols.textBufferViewResetLocalSelection(view);
|
|
16485
16524
|
}
|
|
16525
|
+
textBufferViewSetSelectionOccupancy(view, occupancy) {
|
|
16526
|
+
this.opentui.symbols.textBufferViewSetSelectionOccupancy(view, occupancy === "boundary" ? 1 : 0);
|
|
16527
|
+
}
|
|
16528
|
+
textBufferViewGetSelectionOccupancy(view) {
|
|
16529
|
+
return this.opentui.symbols.textBufferViewGetSelectionOccupancy(view) === 1 ? "boundary" : "cell";
|
|
16530
|
+
}
|
|
16486
16531
|
textBufferViewSetWrapWidth(view, width) {
|
|
16487
16532
|
this.opentui.symbols.textBufferViewSetWrapWidth(view, width);
|
|
16488
16533
|
}
|
|
@@ -16912,24 +16957,40 @@ class FFIRenderLib {
|
|
|
16912
16957
|
const end = Number(packedInfo & 0xffff_ffffn);
|
|
16913
16958
|
return { start, end };
|
|
16914
16959
|
}
|
|
16915
|
-
editorViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, updateCursor, followCursor) {
|
|
16960
|
+
editorViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, updateCursor, followCursor, behavior) {
|
|
16916
16961
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16917
16962
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16918
|
-
return Boolean(this.opentui.symbols.editorViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2,
|
|
16963
|
+
return Boolean(this.opentui.symbols.editorViewSetLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2, editorLocalSelectionFlags(updateCursor, followCursor, behavior)));
|
|
16919
16964
|
}
|
|
16920
16965
|
editorViewUpdateSelection(view, end, bgColor, fgColor) {
|
|
16921
16966
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16922
16967
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16923
16968
|
this.opentui.symbols.editorViewUpdateSelection(view, end, bg2, fg2);
|
|
16924
16969
|
}
|
|
16925
|
-
editorViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, updateCursor, followCursor) {
|
|
16970
|
+
editorViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bgColor, fgColor, updateCursor, followCursor, behavior) {
|
|
16926
16971
|
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16927
16972
|
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16928
|
-
return Boolean(this.opentui.symbols.editorViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2,
|
|
16973
|
+
return Boolean(this.opentui.symbols.editorViewUpdateLocalSelection(view, anchorX, anchorY, focusX, focusY, bg2, fg2, editorLocalSelectionFlags(updateCursor, followCursor, behavior)));
|
|
16929
16974
|
}
|
|
16930
16975
|
editorViewResetLocalSelection(view) {
|
|
16931
16976
|
this.opentui.symbols.editorViewResetLocalSelection(view);
|
|
16932
16977
|
}
|
|
16978
|
+
editorViewConvertSelectionToCell(view) {
|
|
16979
|
+
return Boolean(this.opentui.symbols.editorViewConvertSelectionToCell(view));
|
|
16980
|
+
}
|
|
16981
|
+
editorViewSetSelectionOccupancy(view, occupancy) {
|
|
16982
|
+
this.opentui.symbols.editorViewSetSelectionOccupancy(view, occupancy === "boundary" ? 1 : 0);
|
|
16983
|
+
}
|
|
16984
|
+
editorViewSetSelectionInclusive(view, start, end, bgColor, fgColor) {
|
|
16985
|
+
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16986
|
+
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16987
|
+
this.opentui.symbols.editorViewSetSelectionInclusive(view, start, end, bg2, fg2);
|
|
16988
|
+
}
|
|
16989
|
+
editorViewSetSelectionColors(view, bgColor, fgColor) {
|
|
16990
|
+
const bg2 = optionalRgbaBuffer(bgColor);
|
|
16991
|
+
const fg2 = optionalRgbaBuffer(fgColor);
|
|
16992
|
+
this.opentui.symbols.editorViewSetSelectionColors(view, bg2, fg2);
|
|
16993
|
+
}
|
|
16933
16994
|
editorViewGetSelectedTextBytes(view, maxLength) {
|
|
16934
16995
|
const outBuffer = new Uint8Array(maxLength);
|
|
16935
16996
|
const actualLen = this.opentui.symbols.editorViewGetSelectedTextBytes(view, viewOrNull(outBuffer), maxLength);
|
|
@@ -17000,6 +17061,9 @@ class FFIRenderLib {
|
|
|
17000
17061
|
const cursor = VisualCursorStruct.unpackInto(storage.view, storage.result);
|
|
17001
17062
|
return { ...cursor };
|
|
17002
17063
|
}
|
|
17064
|
+
editorViewGotoVisualLineEnd(view) {
|
|
17065
|
+
this.opentui.symbols.editorViewGotoVisualLineEnd(view);
|
|
17066
|
+
}
|
|
17003
17067
|
bufferPushScissorRect(buffer, x, y, width, height) {
|
|
17004
17068
|
this.opentui.symbols.bufferPushScissorRect(buffer, x, y, width, height);
|
|
17005
17069
|
}
|
|
@@ -18514,5 +18578,5 @@ var yoga_default = Yoga;
|
|
|
18514
18578
|
|
|
18515
18579
|
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 };
|
|
18516
18580
|
|
|
18517
|
-
//# debugId=
|
|
18518
|
-
//# sourceMappingURL=chunk-node-
|
|
18581
|
+
//# debugId=4B7BC8814EED9E3164756E2164756E21
|
|
18582
|
+
//# sourceMappingURL=chunk-node-267dafd8.js.map
|