Skip to content

Commit

Permalink
fix: input not showing cursor when done
Browse files Browse the repository at this point in the history
  • Loading branch information
Vulpesx committed May 5, 2024
1 parent 37a49e4 commit e976e2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ impl<'a> Input<'a> {
self.clear_err()?;
self.validate()?;
if self.err.is_none() {
self.term.show_cursor()?;
return self.handle_submit();
}
}
Expand Down

0 comments on commit e976e2f

Please sign in to comment.