Skip to content

Commit

Permalink
Fix interactive demo example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptjar committed Nov 5, 2020
1 parent 56137ec commit d249a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/interactive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ mod unix_only {
}

let mut label = labels.pop().unwrap();
let mut options = Options::new(initial_width);
let mut options: Options = Options::new(initial_width).splitter(Box::new(HyphenSplitter));
options.break_words = false;
options.splitter = splitters.pop().unwrap();

Expand Down

0 comments on commit d249a6a

Please sign in to comment.