make-selection 1.0.9__tar.gz → 1.0.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {make_selection-1.0.9 → make_selection-1.0.11}/PKG-INFO +1 -1
- {make_selection-1.0.9 → make_selection-1.0.11}/pyproject.toml +1 -1
- {make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection/make_selection.py +3 -3
- {make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection/mappings/mac.py +1 -1
- {make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection/mappings/windows.py +1 -1
- {make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection.egg-info/PKG-INFO +1 -1
- {make_selection-1.0.9 → make_selection-1.0.11}/LICENSE +0 -0
- {make_selection-1.0.9 → make_selection-1.0.11}/README.md +0 -0
- {make_selection-1.0.9 → make_selection-1.0.11}/setup.cfg +0 -0
- {make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection/__init__.py +0 -0
- {make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection/key_codes.py +0 -0
- {make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection.egg-info/SOURCES.txt +0 -0
- {make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection.egg-info/dependency_links.txt +0 -0
- {make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection.egg-info/top_level.txt +0 -0
- {make_selection-1.0.9 → make_selection-1.0.11}/test/test_windows.py +0 -0
|
@@ -8,17 +8,17 @@ Ansi escape codes are used as described here: https://gist.github.com/fnky/45871
|
|
|
8
8
|
# TODO: multi_select: TAB switches to delete mode.
|
|
9
9
|
import sys
|
|
10
10
|
if sys.platform == "win32":
|
|
11
|
-
from mappings.windows import getChar
|
|
11
|
+
from .mappings.windows import getChar
|
|
12
12
|
multi_select_modifier_string = "Ctl"
|
|
13
13
|
elif sys.platform == "darwin":
|
|
14
|
-
from mappings.mac import getChar
|
|
14
|
+
from .mappings.mac import getChar
|
|
15
15
|
multi_select_modifier_string = "Cmd"
|
|
16
16
|
else:
|
|
17
17
|
raise NotImplementedError(f"Platform '{sys.platform}' not supported!")
|
|
18
18
|
from typing import Any
|
|
19
19
|
from copy import copy
|
|
20
20
|
from enum import Enum
|
|
21
|
-
from key_codes import KeyCode
|
|
21
|
+
from .key_codes import KeyCode
|
|
22
22
|
|
|
23
23
|
ANSI_MOVE_CURSOR = "\x1b[{up}F\r\x1b[{right}C"
|
|
24
24
|
ANSI_HIGHLIGHT = "\x1b[30;47m"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{make_selection-1.0.9 → make_selection-1.0.11}/src/make_selection.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|