From 3d63f9607f3307f2d637e1d4754f3bedf684d269 Mon Sep 17 00:00:00 2001 From: Florian Dehau Date: Sat, 1 Sep 2018 14:21:26 +0200 Subject: [PATCH] doc: update main documentation --- src/lib.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 50c01f67..7d2192a6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -56,7 +56,7 @@ //! //! Each widget follows a builder pattern API providing a default configuration //! along with methods to customize them. The widget is then registered using -//! its `render` method that take a `Terminal` instance and an area to draw +//! its `render` method that take a `Frame` instance and an area to draw //! to. //! //! The following example renders a block of the size of the terminal: @@ -146,14 +146,10 @@ //! } //! ``` //! -//! This let you describe responsive terminal UI by nesting groups. You should note +//! This let you describe responsive terminal UI by nesting layouts. You should note //! that by default the computed layout tries to fill the available space //! completely. So if for any reason you might need a blank space somewhere, try to -//! pass an additional size to the group and don't use the corresponding area inside -//! the render method. -//! -//! Once you have finished to describe the UI, you just need to call `draw` -//! on `Terminal` to actually flush to the terminal. +//! pass an additional constraint and don't use the corresponding area. #[macro_use] extern crate bitflags;