mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 03:11:46 +00:00
Disable NSAutoFillHeuristicController on spec
This commit is contained in:
parent
8bf2f439c8
commit
99b1eca3c8
1 changed files with 6 additions and 3 deletions
|
|
@ -971,13 +971,16 @@ int _glfwPlatformInit(bool *supports_window_occlusion)
|
|||
if (_glfw.hints.init.ns.chdir)
|
||||
changeToResourcesDirectory();
|
||||
|
||||
NSDictionary* defaults = @{
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{
|
||||
// Press and Hold prevents some keys from emitting repeated characters
|
||||
@"ApplePressAndHoldEnabled": @NO,
|
||||
// Dont generate openFile events from command line arguments
|
||||
@"NSTreatUnknownArgumentsAsOpen": @"NO",
|
||||
};
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:defaults];
|
||||
// This Tahoe nonsense causes slowdowns in some situations, see for example:
|
||||
// https://issues.chromium.org/issues/452372350 it doesnt affect
|
||||
// autofill via Edit->Autofill
|
||||
@"NSAutoFillHeuristicControllerEnabled" : @NO,
|
||||
}];
|
||||
|
||||
NSUserDefaults *apple_settings = [[NSUserDefaults alloc] initWithSuiteName:@"com.apple.symbolichotkeys"];
|
||||
[apple_settings addObserver:_glfw.ns.helper
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue