Skip to main content

render_plain

Function render_plain 

Source
pub fn render_plain(app: &App, width: u16, height: u16) -> Result<String, Error>
Expand description

Render app on a TestBackend and return the buffer as plain text.

ยงErrors

Returns an error if the test terminal cannot be created or drawn.