mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +00:00
Don't run the print_box example
It was messing with travis?
This commit is contained in:
parent
cadb585948
commit
2ee5c6f4e9
@ -118,7 +118,7 @@ impl Printer {
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// ```no_run
|
||||
/// # use cursive::Printer;
|
||||
/// # use cursive::theme;
|
||||
/// # let printer = Printer::new((6,4), theme::load_default());
|
||||
@ -136,6 +136,9 @@ impl Printer {
|
||||
let borders = if let Some(borders) = self.theme.borders {
|
||||
borders
|
||||
} else {
|
||||
// No border, no box...
|
||||
// TODO: still allow other boxes?
|
||||
// For instance make the check in the view.
|
||||
return;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user