This commit is contained in:
Joakim
2026-10-13 11:04:53 +02:00
parent 6e7b3cb7ed
commit f9c6b2923b
5 changed files with 112 additions and 65 deletions

View File

@@ -95,7 +95,7 @@ actions:
list-zip:
command:
- unzip -l <path>
- read -rp "Tryck Enter för att fortsätta..."
- read -rp "Press Enter to continue..."
move:
command: mv -v <path> <dir>
@@ -174,7 +174,7 @@ actions:
list-zip:
command:
- unzip -l <path>
- read -rp "Tryck Enter för att fortsätta..."
- read -rp "Press Enter to continue..."
```
The flow is:
@@ -184,7 +184,7 @@ TUI
↓
unzip -l archive.zip
↓
read -rp "Tryck Enter..."
read -rp "Press Enter..."
↓
TUI
```
@@ -196,7 +196,7 @@ remaining commands in that action are not executed. TUI prints the exit code
and waits for:
```text
Tryck Enter för att fortsätta...
Press Enter to continue...
```
before returning to TUI, so an error cannot disappear immediately.
@@ -273,3 +273,12 @@ actions:
```
This keeps the Python code generic: menu presentation, labels, shortcuts, conditions and shell commands belong in `.tui`.
## Floating action menu
Press `M` to open the configured action menu. The menu is rendered as a floating overlay over the browser. It is positioned above or below the current cursor when possible, so the selected file remains visible.
Menu labels, shortcuts, actions, and context conditions are defined in `.tui`; the Python UI engine does not contain Git-specific menu definitions.
All user-visible TUI text is English.