@fairyhunter13/opentui-core 0.1.117 → 0.1.119
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/3d.js +1 -1
- package/{index-dcj62y8t.js → index-p0v1qbn9.js} +51 -76
- package/{index-dcj62y8t.js.map → index-p0v1qbn9.js.map} +6 -6
- package/{index-wc7ae60z.js → index-tbp3y8vv.js} +2 -2
- package/{index-jyrhjc34.js → index-zc16yyy7.js} +3 -3
- package/index.js +2 -2
- package/lib/tree-sitter/default-parsers.d.ts +1 -1
- package/package.json +7 -7
- package/runtime-plugin-support.js +3 -3
- package/runtime-plugin.js +3 -3
- package/testing.js +1 -1
- /package/{index-wc7ae60z.js.map → index-tbp3y8vv.js.map} +0 -0
- /package/{index-jyrhjc34.js.map → index-zc16yyy7.js.map} +0 -0
package/3d.js
CHANGED
|
@@ -8457,19 +8457,7 @@ class ProcessQueue {
|
|
|
8457
8457
|
}
|
|
8458
8458
|
|
|
8459
8459
|
// src/lib/tree-sitter/default-parsers.ts
|
|
8460
|
-
import { resolve, dirname } from "path";
|
|
8461
8460
|
import { fileURLToPath } from "url";
|
|
8462
|
-
import javascript_highlights from "./assets/javascript/highlights.scm" with { type: "file" };
|
|
8463
|
-
import javascript_language from "./assets/javascript/tree-sitter-javascript.wasm" with { type: "file" };
|
|
8464
|
-
import typescript_highlights from "./assets/typescript/highlights.scm" with { type: "file" };
|
|
8465
|
-
import typescript_language from "./assets/typescript/tree-sitter-typescript.wasm" with { type: "file" };
|
|
8466
|
-
import markdown_highlights from "./assets/markdown/highlights.scm" with { type: "file" };
|
|
8467
|
-
import markdown_language from "./assets/markdown/tree-sitter-markdown.wasm" with { type: "file" };
|
|
8468
|
-
import markdown_injections from "./assets/markdown/injections.scm" with { type: "file" };
|
|
8469
|
-
import markdown_inline_highlights from "./assets/markdown_inline/highlights.scm" with { type: "file" };
|
|
8470
|
-
import markdown_inline_language from "./assets/markdown_inline/tree-sitter-markdown_inline.wasm" with { type: "file" };
|
|
8471
|
-
import zig_highlights from "./assets/zig/highlights.scm" with { type: "file" };
|
|
8472
|
-
import zig_language from "./assets/zig/tree-sitter-zig.wasm" with { type: "file" };
|
|
8473
8461
|
var _cachedParsers;
|
|
8474
8462
|
function getParsers() {
|
|
8475
8463
|
if (!_cachedParsers) {
|
|
@@ -8478,25 +8466,25 @@ function getParsers() {
|
|
|
8478
8466
|
filetype: "javascript",
|
|
8479
8467
|
aliases: ["javascriptreact"],
|
|
8480
8468
|
queries: {
|
|
8481
|
-
highlights: [
|
|
8469
|
+
highlights: [fileURLToPath(new URL("./assets/javascript/highlights.scm", import.meta.url))]
|
|
8482
8470
|
},
|
|
8483
|
-
wasm:
|
|
8471
|
+
wasm: fileURLToPath(new URL("./assets/javascript/tree-sitter-javascript.wasm", import.meta.url))
|
|
8484
8472
|
},
|
|
8485
8473
|
{
|
|
8486
8474
|
filetype: "typescript",
|
|
8487
8475
|
aliases: ["typescriptreact"],
|
|
8488
8476
|
queries: {
|
|
8489
|
-
highlights: [
|
|
8477
|
+
highlights: [fileURLToPath(new URL("./assets/typescript/highlights.scm", import.meta.url))]
|
|
8490
8478
|
},
|
|
8491
|
-
wasm:
|
|
8479
|
+
wasm: fileURLToPath(new URL("./assets/typescript/tree-sitter-typescript.wasm", import.meta.url))
|
|
8492
8480
|
},
|
|
8493
8481
|
{
|
|
8494
8482
|
filetype: "markdown",
|
|
8495
8483
|
queries: {
|
|
8496
|
-
highlights: [
|
|
8497
|
-
injections: [
|
|
8484
|
+
highlights: [fileURLToPath(new URL("./assets/markdown/highlights.scm", import.meta.url))],
|
|
8485
|
+
injections: [fileURLToPath(new URL("./assets/markdown/injections.scm", import.meta.url))]
|
|
8498
8486
|
},
|
|
8499
|
-
wasm:
|
|
8487
|
+
wasm: fileURLToPath(new URL("./assets/markdown/tree-sitter-markdown.wasm", import.meta.url)),
|
|
8500
8488
|
injectionMapping: {
|
|
8501
8489
|
nodeTypes: {
|
|
8502
8490
|
inline: "markdown_inline",
|
|
@@ -8519,16 +8507,16 @@ function getParsers() {
|
|
|
8519
8507
|
{
|
|
8520
8508
|
filetype: "markdown_inline",
|
|
8521
8509
|
queries: {
|
|
8522
|
-
highlights: [
|
|
8510
|
+
highlights: [fileURLToPath(new URL("./assets/markdown_inline/highlights.scm", import.meta.url))]
|
|
8523
8511
|
},
|
|
8524
|
-
wasm:
|
|
8512
|
+
wasm: fileURLToPath(new URL("./assets/markdown_inline/tree-sitter-markdown_inline.wasm", import.meta.url))
|
|
8525
8513
|
},
|
|
8526
8514
|
{
|
|
8527
8515
|
filetype: "zig",
|
|
8528
8516
|
queries: {
|
|
8529
|
-
highlights: [
|
|
8517
|
+
highlights: [fileURLToPath(new URL("./assets/zig/highlights.scm", import.meta.url))]
|
|
8530
8518
|
},
|
|
8531
|
-
wasm:
|
|
8519
|
+
wasm: fileURLToPath(new URL("./assets/zig/tree-sitter-zig.wasm", import.meta.url))
|
|
8532
8520
|
}
|
|
8533
8521
|
];
|
|
8534
8522
|
}
|
|
@@ -8536,7 +8524,7 @@ function getParsers() {
|
|
|
8536
8524
|
}
|
|
8537
8525
|
|
|
8538
8526
|
// src/lib/tree-sitter/client.ts
|
|
8539
|
-
import { resolve
|
|
8527
|
+
import { resolve, isAbsolute, parse } from "path";
|
|
8540
8528
|
import { existsSync } from "fs";
|
|
8541
8529
|
|
|
8542
8530
|
// src/lib/bunfs.ts
|
|
@@ -8609,7 +8597,7 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8609
8597
|
worker_path = this.options.workerPath;
|
|
8610
8598
|
} else {
|
|
8611
8599
|
worker_path = new URL("./parser.worker.js", import.meta.url).href;
|
|
8612
|
-
if (!existsSync(
|
|
8600
|
+
if (!existsSync(resolve(import.meta.dirname, "parser.worker.js"))) {
|
|
8613
8601
|
worker_path = new URL("./parser.worker.ts", import.meta.url).href;
|
|
8614
8602
|
}
|
|
8615
8603
|
}
|
|
@@ -8644,7 +8632,7 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8644
8632
|
if (this.initializePromise) {
|
|
8645
8633
|
return this.initializePromise;
|
|
8646
8634
|
}
|
|
8647
|
-
this.initializePromise = new Promise((
|
|
8635
|
+
this.initializePromise = new Promise((resolve2, reject) => {
|
|
8648
8636
|
const timeoutMs = this.options.initTimeout ?? 1e4;
|
|
8649
8637
|
const timeoutId = setTimeout(() => {
|
|
8650
8638
|
const error = new Error("Worker initialization timed out");
|
|
@@ -8652,7 +8640,7 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8652
8640
|
this.initializeResolvers = undefined;
|
|
8653
8641
|
reject(error);
|
|
8654
8642
|
}, timeoutMs);
|
|
8655
|
-
this.initializeResolvers = { resolve:
|
|
8643
|
+
this.initializeResolvers = { resolve: resolve2, reject, timeoutId };
|
|
8656
8644
|
this.worker?.postMessage({
|
|
8657
8645
|
type: "INIT",
|
|
8658
8646
|
dataPath: this.options.dataPath
|
|
@@ -8675,7 +8663,7 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8675
8663
|
return normalizeBunfsPath(parse(path).base);
|
|
8676
8664
|
}
|
|
8677
8665
|
if (!isAbsolute(path)) {
|
|
8678
|
-
return
|
|
8666
|
+
return resolve(path);
|
|
8679
8667
|
}
|
|
8680
8668
|
return path;
|
|
8681
8669
|
}
|
|
@@ -8693,8 +8681,8 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8693
8681
|
}
|
|
8694
8682
|
async getPerformance() {
|
|
8695
8683
|
const messageId = `performance_${this.messageIdCounter++}`;
|
|
8696
|
-
return new Promise((
|
|
8697
|
-
this.messageCallbacks.set(messageId,
|
|
8684
|
+
return new Promise((resolve2) => {
|
|
8685
|
+
this.messageCallbacks.set(messageId, resolve2);
|
|
8698
8686
|
this.worker?.postMessage({ type: "GET_PERFORMANCE", messageId });
|
|
8699
8687
|
});
|
|
8700
8688
|
}
|
|
@@ -8707,8 +8695,8 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8707
8695
|
}
|
|
8708
8696
|
}
|
|
8709
8697
|
const messageId = `oneshot_${this.messageIdCounter++}`;
|
|
8710
|
-
return new Promise((
|
|
8711
|
-
this.messageCallbacks.set(messageId,
|
|
8698
|
+
return new Promise((resolve2) => {
|
|
8699
|
+
this.messageCallbacks.set(messageId, resolve2);
|
|
8712
8700
|
this.worker?.postMessage({
|
|
8713
8701
|
type: "ONESHOT_HIGHLIGHT",
|
|
8714
8702
|
content,
|
|
@@ -8817,8 +8805,8 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8817
8805
|
}
|
|
8818
8806
|
async preloadParser(filetype) {
|
|
8819
8807
|
const messageId = `has_parser_${this.messageIdCounter++}`;
|
|
8820
|
-
const response = await new Promise((
|
|
8821
|
-
this.messageCallbacks.set(messageId,
|
|
8808
|
+
const response = await new Promise((resolve2) => {
|
|
8809
|
+
this.messageCallbacks.set(messageId, resolve2);
|
|
8822
8810
|
this.worker?.postMessage({
|
|
8823
8811
|
type: "PRELOAD_PARSER",
|
|
8824
8812
|
filetype,
|
|
@@ -8845,8 +8833,8 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8845
8833
|
}
|
|
8846
8834
|
this.buffers.set(id, { id, content, filetype, version, hasParser: false });
|
|
8847
8835
|
const messageId = `init_${this.messageIdCounter++}`;
|
|
8848
|
-
const response = await new Promise((
|
|
8849
|
-
this.messageCallbacks.set(messageId,
|
|
8836
|
+
const response = await new Promise((resolve2) => {
|
|
8837
|
+
this.messageCallbacks.set(messageId, resolve2);
|
|
8850
8838
|
this.worker?.postMessage({
|
|
8851
8839
|
type: "INITIALIZE_PARSER",
|
|
8852
8840
|
bufferId: id,
|
|
@@ -8902,9 +8890,9 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8902
8890
|
this.editQueues.delete(bufferId);
|
|
8903
8891
|
}
|
|
8904
8892
|
if (this.worker) {
|
|
8905
|
-
await new Promise((
|
|
8893
|
+
await new Promise((resolve2) => {
|
|
8906
8894
|
const messageId = `dispose_${bufferId}`;
|
|
8907
|
-
this.messageCallbacks.set(messageId,
|
|
8895
|
+
this.messageCallbacks.set(messageId, resolve2);
|
|
8908
8896
|
try {
|
|
8909
8897
|
this.worker.postMessage({
|
|
8910
8898
|
type: "DISPOSE_BUFFER",
|
|
@@ -8912,13 +8900,13 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8912
8900
|
});
|
|
8913
8901
|
} catch (error) {
|
|
8914
8902
|
console.error("Error disposing buffer", error);
|
|
8915
|
-
|
|
8903
|
+
resolve2(false);
|
|
8916
8904
|
}
|
|
8917
8905
|
setTimeout(() => {
|
|
8918
8906
|
if (this.messageCallbacks.has(messageId)) {
|
|
8919
8907
|
this.messageCallbacks.delete(messageId);
|
|
8920
8908
|
console.warn({ bufferId }, "Timed out waiting for buffer to be disposed");
|
|
8921
|
-
|
|
8909
|
+
resolve2(false);
|
|
8922
8910
|
}
|
|
8923
8911
|
}, 3000);
|
|
8924
8912
|
});
|
|
@@ -8975,12 +8963,12 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8975
8963
|
this.options.dataPath = dataPath;
|
|
8976
8964
|
if (this.initialized && this.worker) {
|
|
8977
8965
|
const messageId = `update_datapath_${this.messageIdCounter++}`;
|
|
8978
|
-
return new Promise((
|
|
8966
|
+
return new Promise((resolve2, reject) => {
|
|
8979
8967
|
this.messageCallbacks.set(messageId, (response) => {
|
|
8980
8968
|
if (response.error) {
|
|
8981
8969
|
reject(new Error(response.error));
|
|
8982
8970
|
} else {
|
|
8983
|
-
|
|
8971
|
+
resolve2();
|
|
8984
8972
|
}
|
|
8985
8973
|
});
|
|
8986
8974
|
this.worker.postMessage({
|
|
@@ -8996,12 +8984,12 @@ class TreeSitterClient extends EventEmitter2 {
|
|
|
8996
8984
|
throw new Error("Cannot clear cache: client is not initialized");
|
|
8997
8985
|
}
|
|
8998
8986
|
const messageId = `clear_cache_${this.messageIdCounter++}`;
|
|
8999
|
-
return new Promise((
|
|
8987
|
+
return new Promise((resolve2, reject) => {
|
|
9000
8988
|
this.messageCallbacks.set(messageId, (response) => {
|
|
9001
8989
|
if (response.error) {
|
|
9002
8990
|
reject(new Error(response.error));
|
|
9003
8991
|
} else {
|
|
9004
|
-
|
|
8992
|
+
resolve2();
|
|
9005
8993
|
}
|
|
9006
8994
|
});
|
|
9007
8995
|
this.worker.postMessage({
|
|
@@ -9527,26 +9515,13 @@ ${content}`);
|
|
|
9527
9515
|
return "./" + path4.relative(path4.dirname(outputPath), queryPath);
|
|
9528
9516
|
}
|
|
9529
9517
|
async function generateDefaultParsersFile(parsers, outputPath) {
|
|
9530
|
-
const imports = parsers.map((parser) => {
|
|
9531
|
-
const safeFiletype = parser.filetype.replace(/[^a-zA-Z0-9]/g, "_");
|
|
9532
|
-
const lines = [
|
|
9533
|
-
`import ${safeFiletype}_highlights from "${parser.highlightsPath}" with { type: "file" }`,
|
|
9534
|
-
`import ${safeFiletype}_language from "${parser.languagePath}" with { type: "file" }`
|
|
9535
|
-
];
|
|
9536
|
-
if (parser.injectionsPath) {
|
|
9537
|
-
lines.push(`import ${safeFiletype}_injections from "${parser.injectionsPath}" with { type: "file" }`);
|
|
9538
|
-
}
|
|
9539
|
-
return lines.join(`
|
|
9540
|
-
`);
|
|
9541
|
-
}).join(`
|
|
9542
|
-
`);
|
|
9543
9518
|
const parserDefinitions = parsers.map((parser) => {
|
|
9544
9519
|
const safeFiletype = parser.filetype.replace(/[^a-zA-Z0-9]/g, "_");
|
|
9545
9520
|
const queriesLines = [
|
|
9546
|
-
` highlights: [
|
|
9521
|
+
` highlights: [fileURLToPath(new URL("${parser.highlightsPath}", import.meta.url))],`
|
|
9547
9522
|
];
|
|
9548
9523
|
if (parser.injectionsPath) {
|
|
9549
|
-
queriesLines.push(` injections: [
|
|
9524
|
+
queriesLines.push(` injections: [fileURLToPath(new URL("${parser.injectionsPath}", import.meta.url))],`);
|
|
9550
9525
|
}
|
|
9551
9526
|
const injectionMappingLine = parser.injectionMapping ? ` injectionMapping: ${JSON.stringify(parser.injectionMapping, null, 10)},` : "";
|
|
9552
9527
|
const aliasesLine = parser.aliases?.length ? ` aliases: ${JSON.stringify(parser.aliases)},` : "";
|
|
@@ -9557,7 +9532,7 @@ ${aliasesLine ? aliasesLine + `
|
|
|
9557
9532
|
${queriesLines.join(`
|
|
9558
9533
|
`)}
|
|
9559
9534
|
},
|
|
9560
|
-
wasm:
|
|
9535
|
+
wasm: fileURLToPath(new URL("${parser.languagePath}", import.meta.url)),${injectionMappingLine ? `
|
|
9561
9536
|
` + injectionMappingLine : ""}
|
|
9562
9537
|
}`;
|
|
9563
9538
|
}).join(`,
|
|
@@ -9567,11 +9542,8 @@ ${queriesLines.join(`
|
|
|
9567
9542
|
// Last generated: ${new Date().toISOString()}
|
|
9568
9543
|
|
|
9569
9544
|
import type { FiletypeParserOptions } from "./types"
|
|
9570
|
-
import { resolve, dirname } from "path"
|
|
9571
9545
|
import { fileURLToPath } from "url"
|
|
9572
9546
|
|
|
9573
|
-
${imports}
|
|
9574
|
-
|
|
9575
9547
|
// Cached parsers to avoid re-resolving paths on every call
|
|
9576
9548
|
let _cachedParsers: FiletypeParserOptions[] | undefined
|
|
9577
9549
|
|
|
@@ -10463,7 +10435,7 @@ class TerminalPalette {
|
|
|
10463
10435
|
const out = this.stdout;
|
|
10464
10436
|
if (!out.isTTY || !this.stdin.isTTY)
|
|
10465
10437
|
return false;
|
|
10466
|
-
return new Promise((
|
|
10438
|
+
return new Promise((resolve3) => {
|
|
10467
10439
|
const session = this.createQuerySession();
|
|
10468
10440
|
let buffer = "";
|
|
10469
10441
|
let settled = false;
|
|
@@ -10472,7 +10444,7 @@ class TerminalPalette {
|
|
|
10472
10444
|
return;
|
|
10473
10445
|
settled = true;
|
|
10474
10446
|
session.cleanup();
|
|
10475
|
-
|
|
10447
|
+
resolve3(supported);
|
|
10476
10448
|
};
|
|
10477
10449
|
const onData = (chunk) => {
|
|
10478
10450
|
buffer += chunk.toString();
|
|
@@ -10495,7 +10467,7 @@ class TerminalPalette {
|
|
|
10495
10467
|
if (!out.isTTY || !this.stdin.isTTY) {
|
|
10496
10468
|
return results;
|
|
10497
10469
|
}
|
|
10498
|
-
return new Promise((
|
|
10470
|
+
return new Promise((resolve3) => {
|
|
10499
10471
|
const session = this.createQuerySession();
|
|
10500
10472
|
let buffer = "";
|
|
10501
10473
|
let idleTimer = null;
|
|
@@ -10505,7 +10477,7 @@ class TerminalPalette {
|
|
|
10505
10477
|
return;
|
|
10506
10478
|
settled = true;
|
|
10507
10479
|
session.cleanup();
|
|
10508
|
-
|
|
10480
|
+
resolve3(results);
|
|
10509
10481
|
};
|
|
10510
10482
|
const onData = (chunk) => {
|
|
10511
10483
|
buffer += chunk.toString();
|
|
@@ -10546,7 +10518,7 @@ class TerminalPalette {
|
|
|
10546
10518
|
if (!out.isTTY || !this.stdin.isTTY) {
|
|
10547
10519
|
return results;
|
|
10548
10520
|
}
|
|
10549
|
-
return new Promise((
|
|
10521
|
+
return new Promise((resolve3) => {
|
|
10550
10522
|
const session = this.createQuerySession();
|
|
10551
10523
|
let buffer = "";
|
|
10552
10524
|
let idleTimer = null;
|
|
@@ -10556,7 +10528,7 @@ class TerminalPalette {
|
|
|
10556
10528
|
return;
|
|
10557
10529
|
settled = true;
|
|
10558
10530
|
session.cleanup();
|
|
10559
|
-
|
|
10531
|
+
resolve3(results);
|
|
10560
10532
|
};
|
|
10561
10533
|
const onData = (chunk) => {
|
|
10562
10534
|
buffer += chunk.toString();
|
|
@@ -18257,6 +18229,8 @@ class EditBufferRenderable extends Renderable {
|
|
|
18257
18229
|
const cursor = this.editorView.getCursor();
|
|
18258
18230
|
if (cursor.col > 0) {
|
|
18259
18231
|
this.editBuffer.deleteRange(cursor.row, 0, cursor.row, cursor.col);
|
|
18232
|
+
} else if (cursor.row > 0) {
|
|
18233
|
+
this.editBuffer.deleteCharBackward();
|
|
18260
18234
|
}
|
|
18261
18235
|
this.requestRender();
|
|
18262
18236
|
return true;
|
|
@@ -18850,7 +18824,7 @@ var rendererTracker = singleton("RendererTracker", () => {
|
|
|
18850
18824
|
});
|
|
18851
18825
|
async function createCliRenderer(config = {}) {
|
|
18852
18826
|
if (process.argv.includes("--delay-start")) {
|
|
18853
|
-
await new Promise((
|
|
18827
|
+
await new Promise((resolve3) => setTimeout(resolve3, 5000));
|
|
18854
18828
|
}
|
|
18855
18829
|
const stdin = config.stdin || process.stdin;
|
|
18856
18830
|
const stdout = config.stdout || process.stdout;
|
|
@@ -19341,8 +19315,8 @@ Captured output:
|
|
|
19341
19315
|
if (!this.isIdleNow())
|
|
19342
19316
|
return;
|
|
19343
19317
|
const resolvers = this.idleResolvers.splice(0);
|
|
19344
|
-
for (const
|
|
19345
|
-
|
|
19318
|
+
for (const resolve3 of resolvers) {
|
|
19319
|
+
resolve3();
|
|
19346
19320
|
}
|
|
19347
19321
|
}
|
|
19348
19322
|
idle() {
|
|
@@ -19350,8 +19324,8 @@ Captured output:
|
|
|
19350
19324
|
return Promise.resolve();
|
|
19351
19325
|
if (this.isIdleNow())
|
|
19352
19326
|
return Promise.resolve();
|
|
19353
|
-
return new Promise((
|
|
19354
|
-
this.idleResolvers.push(
|
|
19327
|
+
return new Promise((resolve3) => {
|
|
19328
|
+
this.idleResolvers.push(resolve3);
|
|
19355
19329
|
});
|
|
19356
19330
|
}
|
|
19357
19331
|
get resolution() {
|
|
@@ -20278,6 +20252,7 @@ Captured output:
|
|
|
20278
20252
|
pixelResolutionQueryActive: false,
|
|
20279
20253
|
explicitWidthCprActive: false
|
|
20280
20254
|
}, true);
|
|
20255
|
+
this._useMouse = false;
|
|
20281
20256
|
this.setCapturedRenderable(undefined);
|
|
20282
20257
|
this.stdin.removeListener("data", this.stdinListener);
|
|
20283
20258
|
if (this.stdin.setRawMode) {
|
|
@@ -20610,5 +20585,5 @@ Captured output:
|
|
|
20610
20585
|
|
|
20611
20586
|
export { __toESM, __commonJS, __export, __require, Edge, Gutter, MeasureMode, exports_src, isValidBorderStyle, parseBorderStyle, BorderChars, getBorderFromSides, getBorderSides, borderCharsToArray, BorderCharArrays, KeyEvent, PasteEvent, KeyHandler, InternalKeyHandler, RGBA, hexToRgb, rgbToHex, hsvToRgb, parseColor, 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, parseKeypress, LinearScrollAccel, MacOSScrollAccel, parseAlign, parseAlignItems, parseBoxSizing, parseDimension, parseDirection, parseDisplay, parseEdge, parseFlexDirection, parseGutter, parseJustify, parseLogLevel, parseMeasureMode, parseOverflow, parsePositionType, parseUnit, parseWrap, MouseParser, Selection, convertGlobalToLocalSelection, ASCIIFontSelectionHelper, envRegistry, registerEnvVar, clearEnvCache, generateEnvMarkdown, generateEnvColored, env, StdinParser, treeSitterToTextChunks, treeSitterToStyledText, addDefaultParsers, TreeSitterClient, DataPathsManager, getDataPaths, extensionToFiletype, basenameToFiletype, extToFiletype, pathToFiletype, infoStringToFiletype, main, getTreeSitterClient, ExtmarksController, createExtmarksController, TerminalPalette, createTerminalPalette, decodePasteBytes, stripAnsiSequences, detectLinks, TextBuffer, SpanInfoStruct, LogLevel2 as LogLevel, setRenderLibPath, resolveRenderLib, OptimizedBuffer, h, isVNode, maybeMakeRenderable, wrapWithDelegates, instantiate, delegate, isValidPercentage, LayoutEvents, RenderableEvents, isRenderable, BaseRenderable, Renderable, RootRenderable, EditBuffer, EditorView, ANSI, defaultKeyAliases, mergeKeyAliases, mergeKeyBindings, getKeyBindingKey, buildKeyBindingsMap, capture, ConsolePosition, TerminalConsole, getObjectsInViewport, EditBufferRenderableEvents, isEditBufferRenderable, EditBufferRenderable, buildKittyKeyboardFlags, MouseEvent, MouseButton, createCliRenderer, CliRenderEvents, RendererControlState, CliRenderer };
|
|
20612
20587
|
|
|
20613
|
-
//# debugId=
|
|
20614
|
-
//# sourceMappingURL=index-
|
|
20588
|
+
//# debugId=67F59C2409FF014364756E2164756E21
|
|
20589
|
+
//# sourceMappingURL=index-p0v1qbn9.js.map
|