Repository navigation
Conversation
…ect folders separately
Author
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.















What does this PR do?
Gives the PureMac CLI a full terminal interface with framed windows, dialogs, progress and color. The scripting paths (
--plain,--json,--dry-run,--force) keep their current behaviour.TerminalUI, with no new dependencies: a cell buffer that handles wide characters, styles, row and column layout, windows, dialogs, scrollbar, key hints, gauges, text input, a spinner, and a loop that redraws while work runs on a background thread.TermandTerminalSessionmoved into it.--plainstill prints every selected path and asks y/N.purgescans (a new setting; they were hard-coded), and protected paths (add and remove, with a confirmation before protection is removed).~/.config/puremac/projects, soconfig.jsonstays readable by release 1.1.1.Fixed along the way:
\e[J) erased the bottom-right cell in xterm-like terminals.The version stays at 1.1.1 so the maintainer can bump it with the release. The changes fit a minor release (1.2.0): new features, and existing flags and settings files keep working.
Left for later:
Type of change
Testing
swift testincli/passes (560 tests). Checked by hand in tmux at 40x12, 64x18, 80x20 and 100x30, with and withoutNO_COLOR, on macOS 27.0.1.Screenshots