From 8375922c069a244133d083a0bb50273e134be6b1 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 12 May 2026 15:05:36 +0300 Subject: ci: run checks on macos --- src/platform/macos.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/platform') diff --git a/src/platform/macos.rs b/src/platform/macos.rs index 2e9b83b5..987f5f54 100644 --- a/src/platform/macos.rs +++ b/src/platform/macos.rs @@ -21,7 +21,7 @@ pub fn foreground_job(child_pid: u32) -> Option { let Some(info) = process_bsdinfo(pid) else { continue; }; - if info.pbi_pgid as u32 != fg_pgid { + if info.pbi_pgid != fg_pgid { continue; } @@ -191,14 +191,6 @@ fn kern_procargs2(pid: u32) -> Option> { } } -/// Fallback: read `pbi_comm` from `proc_pidinfo(PROC_PIDTBSDINFO)`. -/// -/// This is the kernel-level short command name (like `node`, `zsh`). -/// It does NOT reflect `process.title` changes. -fn process_comm_name(pid: u32) -> Option { - process_bsdinfo(pid).and_then(|info| comm_from_bsdinfo(&info)) -} - pub fn write_clipboard(bytes: &[u8]) -> bool { run_clipboard_command( &ClipboardCommand { -- cgit v1.2.3