fn is_ctlr_home_down(&self, ctx: &mut Context) -> bool {
        // todo move window to api
        if cfg!(target_os = "macos")
            && ctx
                .window()
                .get::<KeyboardState>("keyboard_state")
                .is_home_down()
        {
            return true;
        }

        if !cfg!(target_os = "macos")
            && ctx
                .window()
                .get::<KeyboardState>("keyboard_state")
                .is_ctrl_down()
        {
            return true;
        }

        false
    }
// check if control is pressed or on macos home key
check if control is pressed or on macos home key
check if control is pressed or on macos home key
fn is_ctlr_home_down(&self, ctx: &mut Context) -> bool {
        // todo move window to api
        if cfg!(target_os = "macos")
            && ctx
                .window()
                .get::<KeyboardState>("keyboard_state")
                .is_home_down()
        {
            return true;
        }
        if !cfg!(target_os = "macos")
            && ctx
                .window()
                .get::<KeyboardState>("keyboard_state")
                .is_ctrl_down()
        {
            return true;
        }
        false
    }
fn is_ctlr_home_down ( & self , ctx : & mut Context ) -> bool { // todo move window to api if cfg ! ( target_os " " ) && ctx . window ( ) . get :: < KeyboardState > ( " " ) . is_home_down ( ) { return true ; } if ! cfg ! ( target_os " " ) && ctx . window ( ) . get :: < KeyboardState > ( " " ) . is_ctrl_down ( ) { return true ; } false }
check if control is pressed or on macos home key
check if control is pressed or on macos home key
&self
ctx
&mut Context