always disable bracketed paste after read_line (#598)

This commit is contained in:
WindSoilder 2023-06-28 19:41:15 +08:00 committed by GitHub
parent c8bc5ac22b
commit d64df59757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}