Skip to content

Commit

Permalink
always disable bracketed paste after read_line (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
WindSoilder authored Jun 28, 2023
1 parent c8bc5ac commit d64df59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,9 @@ impl Reedline {

let result = self.read_line_helper(prompt);

#[cfg(not(target_os = "windows"))]
self.disable_bracketed_paste()?;
terminal::disable_raw_mode()?;

result
}

Expand Down

0 comments on commit d64df59

Please sign in to comment.