Skip to main content

rect

Function rect 

Source
pub fn rect<T>(view: &AskView<T>, buf: &GlyphBuffer) -> Rect
Expand description

The box view is painted in on buf: as wide as its widest line and a margin of two cells either side, HEIGHT tall, in the middle.