kopipasta 0.32.0__tar.gz → 0.34.0__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 kopipasta might be problematic. Click here for more details.
- {kopipasta-0.32.0/kopipasta.egg-info → kopipasta-0.34.0}/PKG-INFO +1 -1
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta/tree_selector.py +5 -9
- {kopipasta-0.32.0 → kopipasta-0.34.0/kopipasta.egg-info}/PKG-INFO +1 -1
- {kopipasta-0.32.0 → kopipasta-0.34.0}/setup.py +1 -1
- {kopipasta-0.32.0 → kopipasta-0.34.0}/LICENSE +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/MANIFEST.in +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/README.md +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta/__init__.py +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta/cache.py +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta/file.py +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta/import_parser.py +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta/main.py +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta/prompt.py +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta.egg-info/SOURCES.txt +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta.egg-info/dependency_links.txt +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta.egg-info/entry_points.txt +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta.egg-info/requires.txt +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/kopipasta.egg-info/top_level.txt +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/requirements.txt +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/setup.cfg +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/tests/test_file.py +0 -0
- {kopipasta-0.32.0 → kopipasta-0.34.0}/tests/test_tree_selector.py +0 -0
|
@@ -150,7 +150,8 @@ class TreeSelector:
|
|
|
150
150
|
_, term_height = shutil.get_terminal_size()
|
|
151
151
|
|
|
152
152
|
# Reserve space for header, help panel, and status
|
|
153
|
-
|
|
153
|
+
reserved_space = 12
|
|
154
|
+
available_height = term_height - reserved_space
|
|
154
155
|
available_height = max(5, available_height) # Minimum height
|
|
155
156
|
|
|
156
157
|
# Flatten tree to get all visible nodes
|
|
@@ -244,14 +245,9 @@ class TreeSelector:
|
|
|
244
245
|
|
|
245
246
|
def _show_help(self) -> Panel:
|
|
246
247
|
"""Create help panel"""
|
|
247
|
-
help_text = """[bold]Navigation:[/bold]
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
[bold]Selection:[/bold]
|
|
251
|
-
Space: Toggle file/dir a: Add all in dir s: Snippet mode
|
|
252
|
-
|
|
253
|
-
[bold]Actions:[/bold]
|
|
254
|
-
r: Reuse last selection g: Grep in directory d: Show dependencies
|
|
248
|
+
help_text = """[bold]Navigation:[/bold] ↑/k: Up ↓/j: Down →/l/Enter: Expand ←/h: Collapse
|
|
249
|
+
[bold]Selection:[/bold] Space: Toggle file/dir a: Add all in dir s: Snippet mode
|
|
250
|
+
[bold]Actions:[/bold] r: Reuse last selection g: Grep in directory d: Show dependencies
|
|
255
251
|
q: Quit and finalize"""
|
|
256
252
|
|
|
257
253
|
return Panel(help_text, title="Keyboard Controls", border_style="dim", expand=False)
|
|
@@ -10,7 +10,7 @@ with open("requirements.txt", "r", encoding="utf-8") as f:
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name="kopipasta",
|
|
13
|
-
version="0.
|
|
13
|
+
version="0.34.0",
|
|
14
14
|
author="Mikko Korpela",
|
|
15
15
|
author_email="mikko.korpela@gmail.com",
|
|
16
16
|
description="A CLI tool to generate prompts with project structure and file contents",
|
|
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
|