Use macism to switch to a specific input source ID. The tool provides two modes to handle a specific macOS bug where CJKV (Chinese, Japanese, Korean, Vietnamese) input sources fail to activate correctly unless a workaround is applied.
Stable Mode (Workaround enabled)
Use this if your input source triggers the macOS bug (where the menu bar icon changes but the actual input method does not). This mode uses a TemporaryWindow to ensure the switch is reliable.
macism SOME_INPUT_SOURCE_ID
Fast Mode (Workaround disabled)
Use this if your input source does not trigger the bug for a better user experience (lower latency).
macism SOME_INPUT_SOURCE_ID 0
Customizing the Wait Time
The third parameter allows you to specify the wait time (in milliseconds) for the workaround. The default is 150ms, which is tested to be stable on macOS 26 (Tahoe). If the wait time is too short, the first 1–2 characters might be typed using the previous input method before the new one takes control.
- Default:
150ms (Highly stable) - Optimized for older macOS: You can provide a smaller value (e.g.,
50ms) if you are on an older OS version to reduce latency.
Example with custom wait time:
macism SOME_INPUT_SOURCE_ID 50
macism SOME_INPUT_SOURCE_ID