void () { if (SystemInfoRt.isMac && Registry.is("ide.mac.hide.cursor.when.typing", true)) { Foundation.executeOnMainThread(false, false, () -> { Foundation.invoke("NSCursor", "setHiddenUntilMouseMoves:", true); }); } }