aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/ipc
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-01-22 11:45:16 +0100
committerGitHub <noreply@github.com>2026-01-22 11:45:16 +0100
commit81ca742a694fdfebc8efcb0a01490744f259a4e1 (patch)
treea664d17442ba601f541d36c5890775e8549b29b1 /zellij-utils/src/ipc
parentFix breaking panes behavior (#4622) (diff)
downloadsl0ppij-81ca742a694fdfebc8efcb0a01490744f259a4e1.tar.gz
sl0ppij-81ca742a694fdfebc8efcb0a01490744f259a4e1.tar.xz
sl0ppij-81ca742a694fdfebc8efcb0a01490744f259a4e1.zip
Allow disabling OSC8 link generation (#4624)
* implementation * rustfmt * add pr
Diffstat (limited to 'zellij-utils/src/ipc')
-rw-r--r--zellij-utils/src/ipc/protobuf_conversion.rs2
-rw-r--r--zellij-utils/src/ipc/tests/roundtrip_tests.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/zellij-utils/src/ipc/protobuf_conversion.rs b/zellij-utils/src/ipc/protobuf_conversion.rs
index 5d06cbe5..7810d4ef 100644
--- a/zellij-utils/src/ipc/protobuf_conversion.rs
+++ b/zellij-utils/src/ipc/protobuf_conversion.rs
@@ -579,6 +579,7 @@ impl From<crate::input::options::Options>
crate::input::options::Clipboard::Primary => ProtoClipboard::Primary as i32,
}),
copy_on_select: options.copy_on_select,
+ osc8_hyperlinks: options.osc8_hyperlinks,
scrollback_editor: options
.scrollback_editor
.map(|p| p.to_string_lossy().to_string()),
@@ -664,6 +665,7 @@ impl TryFrom<crate::client_server_contract::client_server_contract::Options>
})
.transpose()?,
copy_on_select: options.copy_on_select,
+ osc8_hyperlinks: options.osc8_hyperlinks,
scrollback_editor: options.scrollback_editor.map(std::path::PathBuf::from),
session_name: options.session_name,
attach_to_session: options.attach_to_session,
diff --git a/zellij-utils/src/ipc/tests/roundtrip_tests.rs b/zellij-utils/src/ipc/tests/roundtrip_tests.rs
index 1c928e6b..5e2e000a 100644
--- a/zellij-utils/src/ipc/tests/roundtrip_tests.rs
+++ b/zellij-utils/src/ipc/tests/roundtrip_tests.rs
@@ -447,6 +447,7 @@ fn test_client_messages() {
copy_command: Some("copy_command".to_owned()),
copy_clipboard: Some(Clipboard::System),
copy_on_select: Some(true),
+ osc8_hyperlinks: Some(true),
scrollback_editor: Some(PathBuf::from("scrollback_editor")),
session_name: Some("session_name".to_owned()),
attach_to_session: Some(true),