File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## [ 4.4.2] ( https://github.com/riodelphino/macime/compare/v4.4.1...v4.4.2 ) (2026-04-17)
44
5+ * ** docs:** Add a test code for socket in bash
56* ** fix:** Remove legacy code for checking ` macime ` executable path (` macimed ` works without ` macime ` from v4.x)
67
78## [ 4.4.1] ( https://github.com/riodelphino/macime/compare/v4.4.0...v4.4.1 ) (2026-04-17)
Original file line number Diff line number Diff line change @@ -386,7 +386,26 @@ daemon set log-level info # Set log level. Use one of debug|info|warn|error (Def
386386> Currently ` daemon set` is disabled since it requires restarting server and much more modifications.
387387
388388
389- To test these commands via ` macime.nvim` (Ensure ` macimed` is running):
389+ # ### Socket test
390+
391+ # #### A test via bash or zsh
392+
393+ To test socket via bash or zsh command:
394+ ` ` ` bash
395+ echo " ime get" | nc -U /tmp/riodelphino.macimed.sock
396+ # com.google.inputmethod.Japanese.base
397+
398+ echo " ime set com.google.inputmethod.Japanese.base" | nc -U /tmp/riodelphino.macimed.sock
399+ # IME is changed to Google Japanese
400+ ` ` `
401+ Or test socket interactively:
402+ ` ` ` bash
403+ nc -U /tmp/riodelphino.macimed.sock
404+ ` ` `
405+
406+ # #### A test via macime.nvim
407+
408+ To test socket via ` macime.nvim` (Ensure ` macimed` is running):
390409(e.g.)
391410` ` ` lua
392411require(" macime" ).send(" ime set com.apple.keylayout.ABC" )
You can’t perform that action at this time.
0 commit comments