aboutsummaryrefslogtreecommitdiff
path: root/src/platform/macos.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-09 03:35:14 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-09 03:35:35 +0300
commit36b2e2f5463139a284483732131ce44977881239 (patch)
treecc839f9f462d74222265fcbf634de98f9aaed2fc /src/platform/macos.rs
parentadbaae68daee7577b2dc93bd12507bfb67a2ca84 (diff)
fix: use drawn cursor by default in wsl
refs #930
Diffstat (limited to 'src/platform/macos.rs')
-rw-r--r--src/platform/macos.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platform/macos.rs b/src/platform/macos.rs
index f2441f06..70eea7ec 100644
--- a/src/platform/macos.rs
+++ b/src/platform/macos.rs
@@ -16,6 +16,10 @@ const PROC_PGRP_ONLY: u32 = 2;
const SERVER_NOFILE_LIMIT_TARGET: libc::rlim_t = 8192;
const CF_STRING_ENCODING_UTF8: u32 = 0x0800_0100;
+pub(crate) fn should_draw_host_cursor_by_default() -> bool {
+ false
+}
+
fn raw_command_argv(command: &str, flag: &str) -> Vec<std::ffi::OsString> {
vec!["/bin/sh".into(), flag.into(), command.into()]
}