{"repo":"laishulu/macism","free":true,"listed":false,"github":"https://github.com/laishulu/macism","clone":"git clone https://github.com/laishulu/macism.git","description":"Reliable CLI MacOS Input Source Manager [MacOS上可靠切换输入法的命令行工具]","language":"Swift","stars":363,"topics":["cli","console","emacs","input-method","input-sources","macos","switching","vim"],"license":"MIT","category":"cli-tools","readme_excerpt":"[中文] MacOS Input Source Manager This tool manages macOS input sources from the command line, ideal for integration with vim and emacs (e.g. sis). macism 's main advantage over other similar tools is that it can reliably select CJKV(Chinese/Japanese/Korean/Vietnamese) input source, while with other tools (such as input-source-switcher, im-select from smartim, swim), when you switch to CJKV input source, you will see that the input source icon has already changed in the menu bar, but unless you activate other applications and then switch back, the input source is actually still the same as before. Install You can get the executable in any of the following ways: - Install from brew - compile by yourself - download the executable directly from github Usage Show version Show current input source Switch input source Switch, with workaround for the MacOS bug Switch, without workaround for the MacOS bug Switch with a custom wait time (advanced) The third argument is the wait time in milliseconds for the workaround ( TemporaryWindow ). The built-in default is 150 ms — empirically the smallest fully-stable value for the CJK race on macOS 26 (Tahoe) . With a shorter wait, Squirrel and other CJK IMEs may not fully take over before you start typing, causing the first 1–2 characters to leak as the previous IME. Older macOS versions only needed 1ms; the conservative default means existing users don't silently break after an OS upgrade, at the cost of a slightly higher (usually imperceptible","default_branch":null,"files":null,"tree":[],"storefront":"/r/laishulu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/laishulu/macism/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}