Repository navigation
MIT license, app icon, and fixes from the last Copilot review of #1 - #2
Merged
Merged
Conversation
cURL import reads a cmd.exe command with an apostrophe outside double quotes (curl https://h/x --data foo'bar ^) as cmd.exe, where an apostrophe is a character: the lines after its ^ continuation stayed in an unclosed quoted value, so the header that followed became part of the body. PowerShell's and cmd.exe's quoting are tried only when the usual reading leaves a quoted value open, so a bash command with a quoted backtick at the end of a line ('it'\''s ``` ...') is read as bash again, as it was before f8ca53d. A Postman v3 collection without a definition whose requests are all in a folder that cannot be listed is a load error, where it was left out without a word; such a folder no longer hides the readable folders next to it. Outside Windows, the runtimes, proxy and outside-files approvals chosen for a workspace folder hold for its path exactly as written: on Linux, and on a macOS volume formatted case-sensitive, the same path in another case is another folder, which got them.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
TermRest is released under the MIT License (LICENSE, Copyright (c) 2026 Shike Chen): the README says so, termrest.exe's file properties show the copyright, and CI's release packages include the license. termrest.exe has an icon, a round badge with a >_ prompt and {TR} in braces. assets/termrest.svg is its source; termrest.ico holds it drawn from the vectors at 16, 20, 24, 32, 40, 48 and 64 px (32-bit bitmaps) and at 256 px (PNG, the largest size Windows takes from an icon), and termrest.png at 1024 px. Native AOT copies the icon into the executable.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.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
Three changes on top of #1:
LICENSE(Copyright (c) 2026 Shike Chen).termrest.exe's file properties show the copyright (<Copyright>inDirectory.Build.props).LICENSEnext to the README.>_prompt and{TR}in braces.assets/termrest.svgis the source.assets/termrest.icoholds it at 16, 20, 24, 32, 40, 48 and 64 px (32-bit bitmaps) and at 256 px (PNG). 256 px is the largest size Windows takes from an icon; it scales that one up for bigger views. Each size is drawn from the vectors rather than scaled from one bitmap.assets/termrest.pngis a 1024 px copy.ApplicationIconinTermRest.Cli.csprojgivestermrest.exethe icon; Native AOT copies it into the executable.--data foo'bar ^) was read as bash, so the line after the^became part of the body. Checking it turned up a regression fromf8ca53d: a bash command with a quoted backtick at the end of a line was read as PowerShell. Other shells' quoting is now tried only when the usual reading leaves a quoted value open.work/APIis another folder thanwork/api. They now hold for the path exactly as written.Commits
19b3525562a631Testing
termrest.exePrivateExtractIcons, 16–256 px) matches the vector render pixel for pixel.termrest.icoLoadImagereturns each size exactlytermrest.svgtermrest --versionandsnapshotrun from the AOT buildTwo cases can't run locally: the case-sensitive path test can only fail on macOS, and the unreadable-folder test is skipped as root in WSL. CI runs both.
Notes
TimerResolutionTests(which times 1 ms sleeps) failed once locally. It passes on its own and in a TUI-only run.