Renderer is the interface for Bubble Tea renderers
Implementations: StandardRenderer (cursed_renderer.go), NilRenderer (nil_renderer.go)
Instance methods
close
Close the renderer and flush any remaining data
SourceFlush the renderer's buffer to the output
SourceInsert unmanaged lines above the renderer
Sourceon_mouse(msg : MouseMsg) : Cmd | Nil
Sourcerender(view : View)
Render a frame to the output
Sourcereset
Reset the renderer's state to its initial state
SourceNotify the renderer of a terminal resize
Sourceset_color_profile(profile : Ultraviolet::ColorProfile)
Set the terminal color profile
ameba:disable Naming/AccessorMethodName
Sourceset_width_method(method : Ultraviolet::WidthMethod)
Set terminal width computation strategy
ameba:disable Naming/AccessorMethodName
Sourcesyncd_updates=(enabled :
Bool)
Set whether to use synchronized updates
SourceWrite a string to the renderer's output
Source