mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
macOS: Allow using the Passwords app to autofill passwords via the Edit->Autofill menu mimicking other macOS applications
Fixes #8195
This commit is contained in:
@@ -99,6 +99,8 @@ Detailed list of changes
|
|||||||
|
|
||||||
- diff kitten: Abort when run inside a terminal that does not support the kitty keyboard protocol (:iss:`8185`)
|
- diff kitten: Abort when run inside a terminal that does not support the kitty keyboard protocol (:iss:`8185`)
|
||||||
|
|
||||||
|
- macOS: Allow using the Passwords app to autofill passwords via the Edit->Autofill menu mimicking other macOS applications (:pull:`8195`)
|
||||||
|
|
||||||
0.38.1 [2024-12-26]
|
0.38.1 [2024-12-26]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@@ -755,10 +755,7 @@ cocoa_create_global_menu(void) {
|
|||||||
MENU_ITEM(appMenu, ([NSString stringWithFormat:@"Quit %@", app_name]), quit);
|
MENU_ITEM(appMenu, ([NSString stringWithFormat:@"Quit %@", app_name]), quit);
|
||||||
[appMenu release];
|
[appMenu release];
|
||||||
|
|
||||||
NSMenuItem* shellMenuItem =
|
NSMenuItem* shellMenuItem = [bar addItemWithTitle:@"Shell" action:NULL keyEquivalent:@""];
|
||||||
[bar addItemWithTitle:@"Shell"
|
|
||||||
action:NULL
|
|
||||||
keyEquivalent:@""];
|
|
||||||
NSMenu* shellMenu = [[NSMenu alloc] initWithTitle:@"Shell"];
|
NSMenu* shellMenu = [[NSMenu alloc] initWithTitle:@"Shell"];
|
||||||
[shellMenuItem setSubmenu:shellMenu];
|
[shellMenuItem setSubmenu:shellMenu];
|
||||||
MENU_ITEM(shellMenu, @"New OS Window", new_os_window);
|
MENU_ITEM(shellMenu, @"New OS Window", new_os_window);
|
||||||
@@ -770,8 +767,12 @@ cocoa_create_global_menu(void) {
|
|||||||
MENU_ITEM(shellMenu, @"Close Window", close_window);
|
MENU_ITEM(shellMenu, @"Close Window", close_window);
|
||||||
[shellMenu addItem:[NSMenuItem separatorItem]];
|
[shellMenu addItem:[NSMenuItem separatorItem]];
|
||||||
MENU_ITEM(shellMenu, @"Reset", reset_terminal);
|
MENU_ITEM(shellMenu, @"Reset", reset_terminal);
|
||||||
MENU_ITEM(shellMenu, @"Clear to Cursor Line", clear_terminal_and_scrollback);
|
|
||||||
[shellMenu release];
|
[shellMenu release];
|
||||||
|
NSMenuItem* editMenuItem = [bar addItemWithTitle:@"Edit" action:NULL keyEquivalent:@""];
|
||||||
|
NSMenu* editMenu = [[NSMenu alloc] initWithTitle:@"Edit"];
|
||||||
|
[editMenuItem setSubmenu:editMenu];
|
||||||
|
MENU_ITEM(editMenu, @"Clear to Start", clear_terminal_and_scrollback);
|
||||||
|
[editMenu release];
|
||||||
|
|
||||||
NSMenuItem* windowMenuItem =
|
NSMenuItem* windowMenuItem =
|
||||||
[bar addItemWithTitle:@"Window"
|
[bar addItemWithTitle:@"Window"
|
||||||
|
|||||||
Reference in New Issue
Block a user