name parser for deprecated send text appropriately
This commit is contained in:
parent
f7db9e3527
commit
43acf3c5b1
2 changed files with 4 additions and 4 deletions
|
|
@ -21,8 +21,8 @@
|
|||
from .options.utils import (
|
||||
KeyDefinition, KeyMap, MouseMap, MouseMapping, SequenceMap,
|
||||
deprecated_hide_window_decorations_aliases,
|
||||
deprecated_macos_show_window_title_in_menubar_alias, env, font_features,
|
||||
kitten_alias, parse_map, parse_mouse_map, parse_send_text, symbol_map
|
||||
deprecated_macos_show_window_title_in_menubar_alias, deprecated_send_text,
|
||||
env, font_features, kitten_alias, parse_map, parse_mouse_map, symbol_map
|
||||
)
|
||||
from .options_stub import Options as OptionsStub
|
||||
from .typing import TypedDict
|
||||
|
|
@ -78,7 +78,7 @@ def handle_kitten_alias(key: str, val: str, ans: Dict[str, Any]) -> None:
|
|||
@special_handler
|
||||
def handle_send_text(key: str, val: str, ans: Dict[str, Any]) -> None:
|
||||
# For legacy compatibility
|
||||
parse_send_text(val, ans)
|
||||
deprecated_send_text(key, val, ans)
|
||||
|
||||
|
||||
@special_handler
|
||||
|
|
|
|||
|
|
@ -936,7 +936,7 @@ def deprecated_macos_show_window_title_in_menubar_alias(key: str, val: str, ans:
|
|||
ans['macos_show_window_title_in'] = macos_show_window_title_in
|
||||
|
||||
|
||||
def parse_send_text(val: str, ans: Dict[str, Any]) -> None:
|
||||
def deprecated_send_text(key: str, val: str, ans: Dict[str, Any]) -> None:
|
||||
parts = val.split(' ')
|
||||
|
||||
def abort(msg: str) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue