Skip to content

Commit

Permalink
be sure to hide the cursor explicitly
Browse files Browse the repository at this point in the history
otherwise it will stay around on the previously drawn string (or so)
  • Loading branch information
Sebastian Thiel committed Jun 4, 2019
1 parent a2b4c9c commit 2937b5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interactive/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ impl TerminalApp {
where
B: Backend,
{
terminal.hide_cursor()?;
let display_options: DisplayOptions = options.clone().into();
let traversal = Traversal::from_walk(options, input, move |traversal| {
terminal.draw(|mut f| {
Expand Down

0 comments on commit 2937b5d

Please sign in to comment.