mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 07:55:10 +02:00
Move type parsers for config into own module
This commit is contained in:
@@ -4,11 +4,10 @@
|
||||
|
||||
import sys
|
||||
from contextlib import suppress
|
||||
from typing import Callable, Optional
|
||||
from typing import Callable, Dict, Optional
|
||||
|
||||
from .constants import is_macos
|
||||
|
||||
|
||||
functional_key_name_aliases = {
|
||||
'ESC': 'ESCAPE',
|
||||
'PGUP': 'PAGE_UP',
|
||||
@@ -26,7 +25,7 @@ functional_key_name_aliases = {
|
||||
}
|
||||
|
||||
|
||||
character_key_name_aliases = {
|
||||
character_key_name_aliases: Dict[str, str] = {
|
||||
'SPC': ' ',
|
||||
'SPACE': ' ',
|
||||
'STAR': '*',
|
||||
|
||||
Reference in New Issue
Block a user