Skip to content

Commit

Permalink
docs: TODOを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
emanon001 committed Feb 11, 2023
1 parent 326d7ce commit 84a277d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Skk.elm
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ updateMidashiInputMode isHiragana kakutei convertValue context inputKey =
default =
buildKanaMode kakutei (MidashiInputMode convertValue)
in
if isCancelKey inputKey then
if isSwitchToOkuriInputModeKey inputKey then
-- TODO: 送り仮名の入力に切り替え
default

else if isCancelKey inputKey then
-- あいう▽ねこ + Ctrl-g → あいう
-- あいう▽はし*r + Ctrl-g → あいう▽はし
if isConvertingMidashi then
Expand Down Expand Up @@ -398,6 +402,11 @@ isSwitchToMidashiInputModeKey { key } =
Regex.contains pattern key


isSwitchToOkuriInputModeKey : SkkInputKey -> Bool
isSwitchToOkuriInputModeKey =
isSwitchToMidashiInputModeKey


isSwitchToKanaModeKey : SkkInputKey -> Bool
isSwitchToKanaModeKey { key } =
key == "q"
Expand Down

0 comments on commit 84a277d

Please sign in to comment.