Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2937b5d

Browse files
author
Sebastian Thiel
committed
be sure to hide the cursor explicitly
otherwise it will stay around on the previously drawn string (or so)
1 parent a2b4c9c commit 2937b5d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/interactive/app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ impl TerminalApp {
152152
where
153153
B: Backend,
154154
{
155+
terminal.hide_cursor()?;
155156
let display_options: DisplayOptions = options.clone().into();
156157
let traversal = Traversal::from_walk(options, input, move |traversal| {
157158
terminal.draw(|mut f| {

0 commit comments

Comments
 (0)