diff options
Diffstat (limited to 'src/platform/fallback.rs')
| -rw-r--r-- | src/platform/fallback.rs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/platform/fallback.rs b/src/platform/fallback.rs index f6380df8..2086e2a7 100644 --- a/src/platform/fallback.rs +++ b/src/platform/fallback.rs @@ -89,6 +89,28 @@ pub(crate) fn should_draw_host_cursor_by_default() -> bool { false } +pub(crate) fn hostname() -> Option<String> { + None +} + +pub(crate) fn local_datetime() -> Option<time::PrimitiveDateTime> { + None +} + +pub(crate) fn status_commands_supported() -> bool { + false +} + +pub(crate) fn configure_status_command(_process: &mut std::process::Command) {} + +pub(crate) struct StatusCommandGuard; + +impl StatusCommandGuard { + pub(crate) fn new(_child: &tokio::process::Child) -> std::io::Result<Self> { + Ok(Self) + } +} + fn raw_command_argv(command: &str, flag: &str) -> Vec<std::ffi::OsString> { vec!["/bin/sh".into(), flag.into(), command.into()] } |
