File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2323#define TERMINAL_USE_EN \
2424 R"JSON( {"appPath": "/System/Applications/Utilities/Terminal.app", "appId": "com.apple.Terminal", "imName": "keyboard-us"})JSON"
2525
26+ // User deletes ABC to enable Fcitx5 on password input.
27+ #define PASSWORDS_USE_EN \
28+ R"JSON( {"appPath": "/System/Applications/Passwords.app", "appId": "com.apple.Passwords", "imName": "keyboard-us"})JSON"
29+
2630namespace fcitx {
2731
2832class MacosInputContext ;
@@ -38,8 +42,10 @@ struct AppIMAnnotation {
3842FCITX_CONFIGURATION (
3943 MacosFrontendConfig,
4044 OptionWithAnnotation<std::vector<std::string>, AppIMAnnotation>
41- appDefaultIM{
42- this , " AppDefaultIM" , _ (" App default IM" ), {TERMINAL_USE_EN}};
45+ appDefaultIM{this ,
46+ " AppDefaultIM" ,
47+ _ (" App default IM" ),
48+ {TERMINAL_USE_EN, PASSWORDS_USE_EN}};
4349 Option<bool > simulateKeyRelease{this , " SimulateKeyRelease" ,
4450 _ (" Simulate key release" )};
4551 Option<int , IntConstrain> simulateKeyReleaseDelay{
You can’t perform that action at this time.
0 commit comments