kopipasta 0.33.0__py3-none-any.whl → 0.34.0__py3-none-any.whl
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.
- kopipasta/tree_selector.py +4 -9
- {kopipasta-0.33.0.dist-info → kopipasta-0.34.0.dist-info}/METADATA +1 -1
- {kopipasta-0.33.0.dist-info → kopipasta-0.34.0.dist-info}/RECORD +7 -7
- {kopipasta-0.33.0.dist-info → kopipasta-0.34.0.dist-info}/LICENSE +0 -0
- {kopipasta-0.33.0.dist-info → kopipasta-0.34.0.dist-info}/WHEEL +0 -0
- {kopipasta-0.33.0.dist-info → kopipasta-0.34.0.dist-info}/entry_points.txt +0 -0
- {kopipasta-0.33.0.dist-info → kopipasta-0.34.0.dist-info}/top_level.txt +0 -0
kopipasta/tree_selector.py
CHANGED
|
@@ -150,7 +150,7 @@ class TreeSelector:
|
|
|
150
150
|
_, term_height = shutil.get_terminal_size()
|
|
151
151
|
|
|
152
152
|
# Reserve space for header, help panel, and status
|
|
153
|
-
reserved_space =
|
|
153
|
+
reserved_space = 12
|
|
154
154
|
available_height = term_height - reserved_space
|
|
155
155
|
available_height = max(5, available_height) # Minimum height
|
|
156
156
|
|
|
@@ -245,14 +245,9 @@ class TreeSelector:
|
|
|
245
245
|
|
|
246
246
|
def _show_help(self) -> Panel:
|
|
247
247
|
"""Create help panel"""
|
|
248
|
-
help_text = """[bold]Navigation:[/bold]
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
[bold]Selection:[/bold]
|
|
252
|
-
Space: Toggle file/dir a: Add all in dir s: Snippet mode
|
|
253
|
-
|
|
254
|
-
[bold]Actions:[/bold]
|
|
255
|
-
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
|
|
256
251
|
q: Quit and finalize"""
|
|
257
252
|
|
|
258
253
|
return Panel(help_text, title="Keyboard Controls", border_style="dim", expand=False)
|
|
@@ -4,10 +4,10 @@ kopipasta/file.py,sha256=tPCLNvSXHzIvAXLB6fgJswLpCFce7T1QnbNdSWHbIso,4829
|
|
|
4
4
|
kopipasta/import_parser.py,sha256=yLzkMlQm2avKjfqcpMY0PxbA_2ihV9gSYJplreWIPEQ,12424
|
|
5
5
|
kopipasta/main.py,sha256=YzzEnDph1v3NojHYIjvD3Z4blnIEX5zqj9W6gNLlA7E,50058
|
|
6
6
|
kopipasta/prompt.py,sha256=fOCuJVTLUfR0fjKf5qIlnl_3pNsKNKsvt3C8f4tsmxk,6889
|
|
7
|
-
kopipasta/tree_selector.py,sha256=
|
|
8
|
-
kopipasta-0.
|
|
9
|
-
kopipasta-0.
|
|
10
|
-
kopipasta-0.
|
|
11
|
-
kopipasta-0.
|
|
12
|
-
kopipasta-0.
|
|
13
|
-
kopipasta-0.
|
|
7
|
+
kopipasta/tree_selector.py,sha256=dQ2WI4fpAl5BnxpsIMt4n4eS2kBJNNucri8GHCzQM1Y,28246
|
|
8
|
+
kopipasta-0.34.0.dist-info/LICENSE,sha256=xw4C9TAU7LFu4r_MwSbky90uzkzNtRwAo3c51IWR8lk,1091
|
|
9
|
+
kopipasta-0.34.0.dist-info/METADATA,sha256=8bHYOP8yyfC4lzcj2Ckca4AgJxwdvWZeEaBYyw96EiY,4894
|
|
10
|
+
kopipasta-0.34.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
11
|
+
kopipasta-0.34.0.dist-info/entry_points.txt,sha256=but54qDNz1-F8fVvGstq_QID5tHjczP7bO7rWLFkc6Y,50
|
|
12
|
+
kopipasta-0.34.0.dist-info/top_level.txt,sha256=iXohixMuCdw8UjGDUp0ouICLYBDrx207sgZIJ9lxn0o,10
|
|
13
|
+
kopipasta-0.34.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|