Files
tui/CHANGELOG.md
Joakim 212b922629 .tui
2026-10-12 23:03:50 +02:00

47 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## v2 - latest fix
- Fixed `Ctrl+C` exit handling so the Bash wrapper reliably changes to the directory where TUI was closed, including when Bash `set -e` is enabled.
- Action commands are evaluated as complete Bash commands, so `&&` and `||` chains work as they do directly in the terminal.
- Updated the example ZIP action to demonstrate success/failure prompts with `&&` / `||`.
# Changelog
## v2.1
- Made the installer compatible with minimal Calculinux environments by replacing `install -m` with `cp` followed by `chmod`.
## Current
- Bash shell integration is installed automatically through `~/.bashrc`.
- Multi-command actions execute as one TUI handoff; TUI is not redrawn between commands.
- Each generated command is added to Bash history.
- Failed commands stop the current action and pause on a `read` before TUI resumes.
- Marks are stored as absolute paths and survive directory changes.
- Returning to a directory shows its previously marked entries again.
- Moving marked entries uses the current TUI directory as the destination.
- `.tui` lookup is limited to the user's home directory.
## Unreleased
- Hidden files and directories are hidden by default; use `tui -a` / `tui --all` to show them.
- Added a synthetic parent-directory entry at the top of every listing.
- Left arrow moves the cursor to the parent entry; pressing left again moves to the parent directory.
- Navigation is limited to the directory containing the applicable `.tui` file.
- Added `ls --color`-style colors for directories, symlinks, executables, archives and common image files.
- Marked paths remain visible as marked when returning to their directory.
### v2 – cursor and block selection update
- Cursor can now move to the empty line immediately below the last object.
- `Ctrl+K K` now behaves like joe: the block end is the row immediately above the cursor.
- On the bottom empty line, `Ctrl+K K` therefore selects through the last object.
## v2 update
- The bottom empty row now visibly shows the cursor.
- When TUI exits normally, the shell integration changes the parent Bash shell to the directory where TUI was closed.
## v2 fix – interactive shell commands and exit directory
- Fixed interactive action commands: the command loop no longer redirects stdin from the command file.
- Commands such as `unzip -l <path> && read -rp "Enter..." || read -rp "FAILED..."` now receive input from the real terminal.
- The final TUI directory is always applied to the parent Bash shell when TUI exits, including Ctrl+C/SIGINT.