Experimental terminal cell renderer: projects MoUI semantics frames into ANSI text
Dependencies
wzzc-dev/moui_tui_renderer does not have a README file
pub(all) struct CellBox {
width : Double
height : Double
}pub struct DegradeLog {
// private fields
}fn TuiPalette::attrs_for(self : TuiPalette, role : SemanticsRole, state : SemanticsState) -> CellAttrspub struct TuiRenderer {
metrics : SurfaceMetrics
cell : CellBox
text_system : TextSystem
sink : TuiSink
diagnostics : DegradeLog
palette : TuiPalette
frame_count : Int
present_count : Int
offscreen_nodes : Int
// private fields
}fn TuiRenderer::new(metrics~ : SurfaceMetrics, sink~ : TuiSink, cell? : CellBox, diagnostics? : DegradeLog, palette? : TuiPalette) -> TuiRendererpub(all) struct TuiSink {
description : String
write : (String) -> Unit
}fn ansi(sink~ : TuiSink, cell? : CellBox, diagnostics? : DegradeLog, palette? : TuiPalette) -> RendererProviderfn clips_in_tree(nodes : Array[SemanticsNode], root : SemanticsNodeId?, cell : CellBox, cols : Int, rows : Int) -> Array[Clip]fn note_dropped_commands(log : DegradeLog, commands : Array[DrawCommand], platform_views : Array[PlatformViewPlacement]) -> UnitInstall
Download zipExperimental terminal cell renderer: projects MoUI semantics frames into ANSI text
Dependencies