mirror of
https://github.com/nushell/reedline.git
synced 2024-09-11 15:55:50 +03:00
always disable bracketed paste after read_line (#598)
This commit is contained in:
parent
c8bc5ac22b
commit
d64df59757
@ -573,8 +573,9 @@ impl Reedline {
|
|||||||
|
|
||||||
let result = self.read_line_helper(prompt);
|
let result = self.read_line_helper(prompt);
|
||||||
|
|
||||||
|
#[cfg(not(target_os = "windows"))]
|
||||||
|
self.disable_bracketed_paste()?;
|
||||||
terminal::disable_raw_mode()?;
|
terminal::disable_raw_mode()?;
|
||||||
|
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user