No need to add index to titles when using hits kitten to choose tab/os_window

This commit is contained in:
Kovid Goyal
2019-11-28 10:11:14 +05:30
parent 41049e2a40
commit 90bcbbf426
3 changed files with 31 additions and 8 deletions

View File

@@ -324,6 +324,10 @@ def parse_input(text):
def load_custom_processor(customize_processing):
if customize_processing.startswith('::import::'):
import importlib
m = importlib.import_module(customize_processing[len('::import::'):])
return {k: getattr(m, k) for k in dir(m)}
from kitty.constants import config_dir
customize_processing = os.path.expandvars(os.path.expanduser(customize_processing))
if os.path.isabs(customize_processing):