aboutsummaryrefslogtreecommitdiff
path: root/src/platform/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/mod.rs')
-rw-r--r--src/platform/mod.rs9
1 files changed, 9 insertions, 0 deletions
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