omdev 0.0.0.dev105__tar.gz → 0.0.0.dev107__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.
Potentially problematic release.
This version of omdev might be problematic. Click here for more details.
- {omdev-0.0.0.dev105/omdev.egg-info → omdev-0.0.0.dev107}/PKG-INFO +2 -2
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/.manifests.json +1 -1
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/clipboard/darwin.py +37 -3
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/ptk/apps/ncdu.py +8 -4
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107/omdev.egg-info}/PKG-INFO +2 -2
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev.egg-info/requires.txt +1 -1
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/pyproject.toml +2 -2
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/LICENSE +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/MANIFEST.in +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/README.rst +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/__about__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/amalg/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/amalg/__main__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/amalg/amalg.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/antlr/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/antlr/_antlr/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/antlr/consts.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/antlr/gen.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/bracepy.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/compute/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/compute/cache.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/compute/contexts.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/compute/currents.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/compute/fns.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/compute/resolvers.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/compute/storage.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/compute/types.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/data/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/data/actions.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/data/cache.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/data/consts.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/data/defaults.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/data/manifests.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cache/data/specs.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_boilerplate.cc +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/LICENSE +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/build_ext.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/compilers/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/compilers/ccompiler.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/compilers/options.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/compilers/unixccompiler.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/dir_util.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/errors.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/extension.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/file_util.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/modified.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/spawn.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/sysconfig.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/util.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/_distutils/version.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/build.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/cmake.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/importhook.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/magic.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cexts/scan.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/classdot.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cli/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cli/__main__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cli/_pathhack.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cli/clicli.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cli/install.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cli/main.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cli/managers.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cli/types.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/clipboard/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/clipboard/clipboard.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/cmake.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/findimports.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/git.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/imgur.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/__main__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/cli.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/inspect.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/providers.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/pyenv.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/resolvers.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/standalone.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/system.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/interp/types.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/magic/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/magic/find.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/magic/magic.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/magic/prepare.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/magic/styles.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/manifests/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/manifests/build.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/manifests/load.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/manifests/types.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/mypy/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/mypy/debug.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/packaging/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/packaging/names.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/packaging/requires.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/packaging/specifiers.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/packaging/versions.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/precheck/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/precheck/__main__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/precheck/base.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/precheck/git.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/precheck/lite.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/precheck/main.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/precheck/manifests.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/precheck/scripts.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/ptk/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/ptk/apps/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/pyproject/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/pyproject/__main__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/pyproject/cexts.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/pyproject/cli.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/pyproject/configs.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/pyproject/pkg.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/pyproject/reqs.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/revisions.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/scripts/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/scripts/bumpversion.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/scripts/execrss.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/scripts/exectime.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/scripts/importtrace.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/scripts/interp.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/scripts/pyproject.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/scripts/slowcat.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/secrets.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tokens.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/toml/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/toml/parser.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/toml/writer.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/doc.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/docker.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/git.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/importscan.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/mkrelimp.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/notebook.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/pawk/__init__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/pawk/__main__.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/pawk/pawk.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/pip.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/prof.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/tools/sqlrepl.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev/wheelfile.py +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev.egg-info/SOURCES.txt +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev.egg-info/dependency_links.txt +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev.egg-info/entry_points.txt +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/omdev.egg-info/top_level.txt +0 -0
- {omdev-0.0.0.dev105 → omdev-0.0.0.dev107}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: omdev
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev107
|
|
4
4
|
Summary: omdev
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License: BSD-3-Clause
|
|
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
|
|
|
12
12
|
Classifier: Operating System :: POSIX
|
|
13
13
|
Requires-Python: >=3.12
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: omlish==0.0.0.
|
|
15
|
+
Requires-Dist: omlish==0.0.0.dev107
|
|
16
16
|
Provides-Extra: all
|
|
17
17
|
Requires-Dist: black~=24.10; extra == "all"
|
|
18
18
|
Requires-Dist: pycparser~=2.22; extra == "all"
|
|
@@ -1,4 +1,31 @@
|
|
|
1
1
|
# ruff: noqa: N802 N816
|
|
2
|
+
"""
|
|
3
|
+
imageProperties = dict(
|
|
4
|
+
ColorModel = "RGB"
|
|
5
|
+
DPIHeight = 144
|
|
6
|
+
DPIWidth = 144
|
|
7
|
+
Depth = 8
|
|
8
|
+
PixelHeight = 1236
|
|
9
|
+
PixelWidth = 602
|
|
10
|
+
ProfileName = "Color LCD"
|
|
11
|
+
kCGImageDestinationAllowAlpha = true
|
|
12
|
+
{Exif} = dict(
|
|
13
|
+
PixelXDimension = 602
|
|
14
|
+
PixelYDimension = 1236
|
|
15
|
+
UserComment = "Screenshot"
|
|
16
|
+
)
|
|
17
|
+
{PNG} = dict(
|
|
18
|
+
InterlaceType = 0
|
|
19
|
+
XPixelsPerMeter = 5669
|
|
20
|
+
YPixelsPerMeter = 5669
|
|
21
|
+
)
|
|
22
|
+
{TIFF} = dict(
|
|
23
|
+
ResolutionUnit = 2
|
|
24
|
+
XResolution = 144
|
|
25
|
+
YResolution = 144
|
|
26
|
+
)
|
|
27
|
+
)
|
|
28
|
+
"""
|
|
2
29
|
import ctypes as ct
|
|
3
30
|
import ctypes.util
|
|
4
31
|
import dataclasses as dc
|
|
@@ -114,7 +141,7 @@ def cfstring_to_string(cf_string: CFStringRef) -> str:
|
|
|
114
141
|
max_size = cf.CFStringGetMaximumSizeForEncoding(length, kCFStringEncodingUTF8) + 1
|
|
115
142
|
buffer = ct.create_string_buffer(max_size)
|
|
116
143
|
|
|
117
|
-
if success := cf.CFStringGetCString(cf_string, buffer, max_size, kCFStringEncodingUTF8): # noqa
|
|
144
|
+
if not (success := cf.CFStringGetCString(cf_string, buffer, max_size, kCFStringEncodingUTF8)): # noqa
|
|
118
145
|
return ''
|
|
119
146
|
|
|
120
147
|
return buffer.value.decode('utf-8')
|
|
@@ -142,6 +169,7 @@ class DarwinClipboardItem:
|
|
|
142
169
|
def get_darwin_clipboard_data(
|
|
143
170
|
*,
|
|
144
171
|
types: ta.Container[str | None] | None = None,
|
|
172
|
+
skip_types: ta.Container[str | None] | None = None,
|
|
145
173
|
strict: bool = False,
|
|
146
174
|
types_only: bool = False,
|
|
147
175
|
) -> list[DarwinClipboardItem]:
|
|
@@ -179,6 +207,8 @@ def get_darwin_clipboard_data(
|
|
|
179
207
|
|
|
180
208
|
if types is not None and data_type_str not in types:
|
|
181
209
|
continue
|
|
210
|
+
if skip_types is not None and data_type_str in skip_types:
|
|
211
|
+
continue
|
|
182
212
|
|
|
183
213
|
if types_only:
|
|
184
214
|
lst.append(DarwinClipboardItem(
|
|
@@ -188,10 +218,14 @@ def get_darwin_clipboard_data(
|
|
|
188
218
|
continue
|
|
189
219
|
|
|
190
220
|
data = CFDataRef()
|
|
221
|
+
|
|
222
|
+
# FIXME: dumps to stderr lol:
|
|
223
|
+
# data_type_str = 'public.heics'
|
|
191
224
|
if status := aps.PasteboardCopyItemFlavorData(pasteboard, item_id, data_type, ct.byref(data)):
|
|
192
225
|
if not strict:
|
|
193
226
|
continue
|
|
194
227
|
raise StatusDarwinClipboardError('PasteboardCopyItemFlavorData', status)
|
|
228
|
+
|
|
195
229
|
if not data:
|
|
196
230
|
continue
|
|
197
231
|
|
|
@@ -221,8 +255,8 @@ def get_darwin_clipboard_data(
|
|
|
221
255
|
|
|
222
256
|
|
|
223
257
|
def _main() -> None:
|
|
224
|
-
for i in get_darwin_clipboard_data():
|
|
225
|
-
print(i)
|
|
258
|
+
for i in get_darwin_clipboard_data(skip_types={'public.heics'}):
|
|
259
|
+
print(f'type: {i.type}, len: {len(i.data) if i.data is not None else None}')
|
|
226
260
|
|
|
227
261
|
|
|
228
262
|
if __name__ == '__main__':
|
|
@@ -69,10 +69,14 @@ class NcduApp:
|
|
|
69
69
|
|
|
70
70
|
self._kb = ptk.KeyBindings()
|
|
71
71
|
self._kb.add('q')(self.exit_app)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
for k in ['up', 'p']:
|
|
73
|
+
self._kb.add(k)(self.move_up)
|
|
74
|
+
for k in ['down', 'n']:
|
|
75
|
+
self._kb.add(k)(self.move_down)
|
|
76
|
+
for k in ['right', 'enter']:
|
|
77
|
+
self._kb.add(k)(self.enter_directory)
|
|
78
|
+
for k in ['left', 'backspace']:
|
|
79
|
+
self._kb.add(k)(self.go_back)
|
|
76
80
|
|
|
77
81
|
self._layout = ptk.Layout(ptk.Frame(self._text_area))
|
|
78
82
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: omdev
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev107
|
|
4
4
|
Summary: omdev
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License: BSD-3-Clause
|
|
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
|
|
|
12
12
|
Classifier: Operating System :: POSIX
|
|
13
13
|
Requires-Python: >=3.12
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: omlish==0.0.0.
|
|
15
|
+
Requires-Dist: omlish==0.0.0.dev107
|
|
16
16
|
Provides-Extra: all
|
|
17
17
|
Requires-Dist: black~=24.10; extra == "all"
|
|
18
18
|
Requires-Dist: pycparser~=2.22; extra == "all"
|
|
@@ -12,7 +12,7 @@ authors = [
|
|
|
12
12
|
urls = {source = 'https://github.com/wrmsr/omlish'}
|
|
13
13
|
license = {text = 'BSD-3-Clause'}
|
|
14
14
|
requires-python = '>=3.12'
|
|
15
|
-
version = '0.0.0.
|
|
15
|
+
version = '0.0.0.dev107'
|
|
16
16
|
classifiers = [
|
|
17
17
|
'License :: OSI Approved :: BSD License',
|
|
18
18
|
'Development Status :: 2 - Pre-Alpha',
|
|
@@ -22,7 +22,7 @@ classifiers = [
|
|
|
22
22
|
]
|
|
23
23
|
description = 'omdev'
|
|
24
24
|
dependencies = [
|
|
25
|
-
'omlish == 0.0.0.
|
|
25
|
+
'omlish == 0.0.0.dev107',
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.optional-dependencies]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|