Repository navigation
Walk into archives and polish the editor and panels - #1
Merged
Merged
Conversation
- Enter or Ctrl+PgDn opens zip (and jar, nupkg, vsix, whl...), tar, .tar.gz/.tgz and lone .gz files as folders; F3 views, Enter runs, Ctrl+L sizes and F5 copies out through the ordinary copy. Archives are read-only: writing into one is refused with a message. - Alt+F1 / Alt+F2 open the other panel's folder when it is on the picked drive. - After Ctrl+O, Shift+arrows, Shift+Home/End and Ctrl+Shift+arrows select text on the command line; Ctrl+C / Ctrl+Ins copy, Shift+Del cuts, typing replaces. - The editor colours numbers, strings, URLs, comment lines and [sections] in files of unknown type; F5 switches colouring off/on. - The editor caret is the console's blinking bar (a block while overwriting) instead of an inverted cell. - Backups and temporaries (*.bak, *.tmp, *~ ...) are brown and media light red, as new theme entries PanelTemporary and PanelMedia. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
.tar.gz/.tgzor lone.gzwalks into it like a folder (...\tools.zip\bin);..climbs back out onto the archive. F3 views a file, Enter runs one, Ctrl+L sizes a folder, F5 copies out through the ordinary copy (destination rules, overwrite prompts, progress). Archives are read-only: F4/F6/F7/F8 and copying into one show a message. Entries escaping with..or rooted are never extracted. 7z/rar/cab/iso keep opening with the associated program. New code insrc/OpenStus/Archives/.Application.DriveTarget).#/;///comment lines,[section]headers and words liketrue,null,ERROR. F5 toggles colouring; the key bar shows Plain/Colour.*.bak,*.tmp,*~,~$*...) brown, media light red, as theme entriesPanelTemporary/PanelMedia; more archive extensions coloured.README key table, help screen and CHANGELOG updated.
Test plan
dotnet test- 1842 passed (80 new: archive catalogue/extraction/zip-slip, archive panel navigation, F5 out of / refusals into archives end to end with scripted input, drive target, command-line selection incl. Ctrl+O routing, plain-text tokenizer, editor F5 toggle and caret, cursor-shape escapes, file-type colours)--screenshotwith a panel inside a zip renders the archive listing;--ansishows.bak/.tmpin SGR 33,.pngin 91,.zipin 95,.mdfplain🤖 Generated with Claude Code