mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-07 17:43:53 +02:00
macOS: Add default mapping and global menubar action to erase last command
This is "Cmd+L" from Terminal.app
This commit is contained in:
@@ -207,6 +207,9 @@ def set_cocoa_global_shortcuts(opts: Options) -> dict[str, SingleKey]:
|
||||
val = get_macos_shortcut_for(func_map, 'clear_terminal to_cursor_scroll active', lookup_name='clear_screen')
|
||||
if val is not None:
|
||||
global_shortcuts['clear_screen'] = val
|
||||
val = get_macos_shortcut_for(func_map, 'clear_terminal last_command active', lookup_name='clear_last_command')
|
||||
if val is not None:
|
||||
global_shortcuts['clear_last_command'] = val
|
||||
val = get_macos_shortcut_for(func_map, 'load_config_file', lookup_name='reload_config')
|
||||
if val is not None:
|
||||
global_shortcuts['reload_config'] = val
|
||||
|
||||
Reference in New Issue
Block a user