@opentuah/core 0.1.95 → 0.1.96
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/README.md +1 -2
- package/buffer.d.ts +9 -0
- package/{index-2fr3e57d.js → index-yc0yx782.js} +392 -211
- package/{index-2fr3e57d.js.map → index-yc0yx782.js.map} +9 -9
- package/index.js +937 -57
- package/index.js.map +10 -9
- package/lib/parse.mouse.d.ts +7 -0
- package/package.json +11 -11
- package/renderables/Diff.d.ts +7 -0
- package/renderables/LineNumberRenderable.d.ts +2 -0
- package/renderables/TextTable.d.ts +126 -0
- package/renderables/Textarea.d.ts +1 -1
- package/renderables/index.d.ts +1 -0
- package/renderer.d.ts +7 -3
- package/testing.js +1 -1
- package/types.d.ts +7 -3
- package/zig-structs.d.ts +16 -0
- package/zig.d.ts +7 -2
package/3d.js
CHANGED
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# OpenTUI Core
|
|
2
2
|
|
|
3
|
-
OpenTUI
|
|
4
|
-
development and is not ready for production use.
|
|
3
|
+
OpenTUI is a native terminal UI core written in Zig with TypeScript bindings. The native core exposes a C ABI and can be used from any language. OpenTUI powers OpenCode in production today and will also power terminal.shop. It is an extensible core with a focus on correctness, stability, and high performance. It provides a component-based architecture with flexible layout capabilities, allowing you to create complex terminal applications.
|
|
5
4
|
|
|
6
5
|
## Documentation
|
|
7
6
|
|
package/buffer.d.ts
CHANGED
|
@@ -94,5 +94,14 @@ export declare class OptimizedBuffer {
|
|
|
94
94
|
char: number;
|
|
95
95
|
}>;
|
|
96
96
|
}): void;
|
|
97
|
+
drawGrid(options: {
|
|
98
|
+
borderChars: Uint32Array;
|
|
99
|
+
borderFg: RGBA;
|
|
100
|
+
borderBg: RGBA;
|
|
101
|
+
columnOffsets: Int32Array;
|
|
102
|
+
rowOffsets: Int32Array;
|
|
103
|
+
drawInner: boolean;
|
|
104
|
+
drawOuter: boolean;
|
|
105
|
+
}): void;
|
|
97
106
|
drawChar(char: number, x: number, y: number, fg: RGBA, bg: RGBA, attributes?: number): void;
|
|
98
107
|
}
|