Skip to content

Commit

Permalink
remove toggler functions' return
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdillah committed Jul 24, 2023
1 parent 71a38d3 commit 83b1f98
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,13 @@ impl Reedline {
}

/// Enable keyboard enhancement to disambiguate escape code
pub fn enable_kitty_protocol(&mut self) -> Result<()> {
pub fn enable_kitty_protocol(&mut self) {
self.use_kitty_protocol = true;
Ok(())
}

/// Disable keyboard enhancement to disambiguate escape code
pub fn disable_kitty_protocol(&mut self) -> Result<()> {
pub fn disable_kitty_protocol(&mut self) {
self.use_kitty_protocol = false;
Ok(())
}

/// Return the previously generated history session id
Expand Down

0 comments on commit 83b1f98

Please sign in to comment.