[][src]Function termcandy::screen_size

pub fn screen_size() -> (u16, u16)

Get the size of the screen as seen by the current widget.

Note

Nesting widgets inside each other (using Widget::resize) will cause the nested widget to only see the size of the region of the screen that it's been allocated.