@opentui/core 0.1.89 → 0.1.91
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 +3 -4
- package/3d.js.map +3 -3
- package/NativeSpanFeed.d.ts +2 -2
- package/buffer.d.ts +2 -2
- package/{index-tae5jwnc.js → index-1xpw3v2p.js} +3 -3
- package/index-1xpw3v2p.js.map +10 -0
- package/{index-rs5zwr4j.js → index-7p56py22.js} +911 -6
- package/index-7p56py22.js.map +45 -0
- package/{index-e89anq5x.js → index-mdxq0qtt.js} +10 -10
- package/{index-e89anq5x.js.map → index-mdxq0qtt.js.map} +12 -12
- package/index.d.ts +2 -0
- package/index.js +44 -4
- package/index.js.map +1 -1
- package/lib/detect-links.d.ts +2 -2
- package/lib/stdin-parser.d.ts +5 -5
- package/lib/terminal-palette.d.ts +1 -1
- package/lib/tree-sitter/default-parsers.d.ts +1 -1
- package/package.json +7 -7
- package/parser.worker.js +16 -21
- package/parser.worker.js.map +3 -3
- package/plugins/core-slot.d.ts +5 -5
- package/plugins/registry.d.ts +2 -2
- package/plugins/types.d.ts +1 -1
- package/post/effects.d.ts +1 -1
- package/renderables/TextTable.d.ts +7 -7
- package/renderables/TimeToFirstDraw.d.ts +4 -4
- package/runtime-plugin-support.d.ts +1 -1
- package/runtime-plugin-support.js +3 -3
- package/runtime-plugin-support.js.map +1 -1
- package/runtime-plugin.js +3 -3
- package/testing/manual-clock.d.ts +1 -1
- package/testing.js +1 -1
- package/index-rs5zwr4j.js.map +0 -43
- package/index-tae5jwnc.js.map +0 -10
|
@@ -9029,7 +9029,7 @@ function isValidDirectoryName(name) {
|
|
|
9029
9029
|
if (reservedNames.includes(name.toUpperCase())) {
|
|
9030
9030
|
return false;
|
|
9031
9031
|
}
|
|
9032
|
-
const invalidChars = /[<>:"
|
|
9032
|
+
const invalidChars = /[<>:"|?*/\\\x00-\x1f]/;
|
|
9033
9033
|
if (invalidChars.test(name)) {
|
|
9034
9034
|
return false;
|
|
9035
9035
|
}
|
|
@@ -17259,7 +17259,9 @@ var DEFAULT_FORWARDED_ENV_KEYS = [
|
|
|
17259
17259
|
"OPENTUI_FORCE_NOZWJ",
|
|
17260
17260
|
"OPENTUI_FORCE_EXPLICIT_WIDTH",
|
|
17261
17261
|
"WT_SESSION",
|
|
17262
|
-
"STY"
|
|
17262
|
+
"STY",
|
|
17263
|
+
"WSL_DISTRO_NAME",
|
|
17264
|
+
"WSL_INTEROP"
|
|
17263
17265
|
];
|
|
17264
17266
|
var KITTY_FLAG_DISAMBIGUATE = 1;
|
|
17265
17267
|
var KITTY_FLAG_EVENT_TYPES = 2;
|
|
@@ -17612,6 +17614,7 @@ Captured output:
|
|
|
17612
17614
|
this.maxFps = config.maxFps || 60;
|
|
17613
17615
|
this.targetFrameTime = 1000 / this.targetFps;
|
|
17614
17616
|
this.minTargetFrameTime = 1000 / this.maxFps;
|
|
17617
|
+
this.clock = config.clock ?? new SystemClock;
|
|
17615
17618
|
this.memorySnapshotInterval = config.memorySnapshotInterval ?? 0;
|
|
17616
17619
|
this.gatherStats = config.gatherStats || false;
|
|
17617
17620
|
this.maxStatSamples = config.maxStatSamples || 300;
|
|
@@ -17647,7 +17650,6 @@ Captured output:
|
|
|
17647
17650
|
}
|
|
17648
17651
|
});
|
|
17649
17652
|
this.addExitListeners();
|
|
17650
|
-
this.clock = config.clock ?? new SystemClock;
|
|
17651
17653
|
const stdinParserMaxBufferBytes = config.stdinParserMaxBufferBytes ?? DEFAULT_STDIN_PARSER_MAX_BUFFER_BYTES;
|
|
17652
17654
|
this.stdinParser = new StdinParser({
|
|
17653
17655
|
timeoutMs: 10,
|
|
@@ -18197,8 +18199,8 @@ Captured output:
|
|
|
18197
18199
|
if (this.stdin.setRawMode) {
|
|
18198
18200
|
this.stdin.setRawMode(true);
|
|
18199
18201
|
}
|
|
18200
|
-
this.stdin.resume();
|
|
18201
18202
|
this.stdin.on("data", this.stdinListener);
|
|
18203
|
+
this.stdin.resume();
|
|
18202
18204
|
}
|
|
18203
18205
|
dispatchMouseEvent(target, attributes) {
|
|
18204
18206
|
const event = new MouseEvent(target, attributes);
|
|
@@ -18618,12 +18620,10 @@ Captured output:
|
|
|
18618
18620
|
if (this.stdin.setRawMode) {
|
|
18619
18621
|
this.stdin.setRawMode(true);
|
|
18620
18622
|
}
|
|
18623
|
+
while (this.stdin.read() !== null) {}
|
|
18624
|
+
this.stdin.on("data", this.stdinListener);
|
|
18621
18625
|
this.stdin.resume();
|
|
18622
18626
|
this.addExitListeners();
|
|
18623
|
-
setImmediate(() => {
|
|
18624
|
-
while (this.stdin.read() !== null) {}
|
|
18625
|
-
this.stdin.on("data", this.stdinListener);
|
|
18626
|
-
});
|
|
18627
18627
|
this.lib.resumeRenderer(this.rendererPtr);
|
|
18628
18628
|
if (this._suspendedMouseEnabled) {
|
|
18629
18629
|
this.enableMouse();
|
|
@@ -19031,5 +19031,5 @@ Captured output:
|
|
|
19031
19031
|
|
|
19032
19032
|
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, ANSI, defaultKeyAliases, mergeKeyAliases, mergeKeyBindings, getKeyBindingKey, buildKeyBindingsMap, capture, ConsolePosition, TerminalConsole, getObjectsInViewport, buildKittyKeyboardFlags, MouseEvent, MouseButton, createCliRenderer, CliRenderEvents, RendererControlState, CliRenderer };
|
|
19033
19033
|
|
|
19034
|
-
//# debugId=
|
|
19035
|
-
//# sourceMappingURL=index-
|
|
19034
|
+
//# debugId=FADF3B6ED313220564756E2164756E21
|
|
19035
|
+
//# sourceMappingURL=index-mdxq0qtt.js.map
|