From a9111cbab2a7550c7e84ec94c8b388de9a44daa3 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Thu, 2 Jul 2026 01:16:21 +0300 Subject: fix: open scrollback editor on windows without sh refs #914 --- src/platform/fallback.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/platform/fallback.rs') diff --git a/src/platform/fallback.rs b/src/platform/fallback.rs index 25bc761c..e9134a8b 100644 --- a/src/platform/fallback.rs +++ b/src/platform/fallback.rs @@ -6,6 +6,14 @@ use super::{ClipboardImage, ForegroundJob, Signal}; /// Unsupported platform stub. pub fn raise_server_nofile_limit() {} +/// Unsupported platform stub. +pub(crate) fn scrollback_editor_argv(_path: &std::path::Path) -> std::io::Result> { + Err(std::io::Error::new( + std::io::ErrorKind::Unsupported, + "opening scrollback in an editor is not supported on this platform", + )) +} + /// Unsupported platform stub. pub fn detach_server_daemon_command(_command: &mut Command) {} -- cgit v1.2.3