From ec745235a95df0004e14069b79689814104c199c Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Thu, 3 Sep 2026 19:03:47 +0200 Subject: fix(windows): preserve LF paste order (#3582) refs #3172 --- src/platform/mod.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/platform/mod.rs') diff --git a/src/platform/mod.rs b/src/platform/mod.rs index b831e120..f15c71ef 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -39,6 +39,15 @@ pub(crate) fn apply_pane_runtime_marker(command: &mut portable_pty::CommandBuild apply_pane_runtime_marker_platform(command); } +pub(crate) fn prepare_paste_text_for_pty(text: String) -> String { + prepare_paste_text_for_pty_platform(text) +} + +#[cfg(not(windows))] +fn prepare_paste_text_for_pty_platform(text: String) -> String { + text +} + #[cfg(not(windows))] pub(crate) fn terminal_title_for_presentation(title: &str) -> &str { title -- cgit v1.2.3