diff --git a/src/printer.rs b/src/printer.rs index 404bdda..e8e47a3 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -113,13 +113,16 @@ impl Printer { /// Prints a rectangular box. /// + /// If `invert` is `true`, and the theme uses `Outset` borders, then the + /// box will use an "inset" style instead. + /// /// # Examples /// /// ``` /// # use cursive::Printer; /// # use cursive::theme; /// # let printer = Printer::new((6,4), theme::load_default()); - /// printer.print_box((0,0), (6,4)); + /// printer.print_box((0,0), (6,4), false); /// ``` pub fn print_box, S: Into>(&self, start: T, size: S, invert: bool) {