Skip to content

Commit

Permalink
CJK → CJKV in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyunje Jun committed Sep 16, 2017
1 parent 254f189 commit 66ddfa7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ The prebuilt binaries can be found in [Releases](https://github.com/noraesae/kaw

Unzip `Kawa.zip` and move `Kawa.app` to `Applications`.

## For CJK input sources
## For CJKV input sources

There is a known bug in the TIS library of macOS that switching keyboard
layouts doesn't work well when done programmatically, especially between complex
input sources like [CJK](https://en.wikipedia.org/wiki/CJK_characters).
input sources like [CJKV](https://en.wikipedia.org/wiki/CJK_characters).

Kawa workarounded this bug by programmatically doing the followings:

- Select a target input source
- If the source is CJK
- Switch to the first non-CJK input source
- If the source is CJKV
- Switch to the first non-CJKV input source
- Return to the target input source by sending `Select the previous input source` shortcut

Thus, to activate the workaround above, the following restrictions should meet.

1. There is at least one non-CJK input source in the input source list
1. There is at least one non-CJKV input source in the input source list
2. The `Select the previous input source` shortcut should be enabled and set to something
- It can be set in **System Preferences** > **Keyboard** > **Shortcuts** > **Input Sources**

Expand Down

0 comments on commit 66ddfa7

Please sign in to comment.