Repository navigation
rexdiff: update from curl installs, and no bare text at the kitty start - #14
Merged
Merged
Conversation
GoReleaser publishes the release again after it uploads the files. Without make_latest it sends no "latest" to GitHub, so GitHub kept v0.4.1 as the latest release. The curl install and the update of a downloaded rexdiff both read releases/latest, so they stayed on v0.4.1.
rexdiff update installs the latest release the way the user installed rexdiff, with the same Updater as the U key of the viewer. Before, a user outside the viewer had to run the curl script again.
With renderer = "kitty", the pictures wait for the colours of the terminal to settle, at least 150 ms. Until then the text of Bubble Tea showed as it is, with gaps in the box lines and in other colours, and then changed into the pictures. The same happened after the editor, which takes the pictures off the screen. The view now shows no text until pictures went out since Bubble Tea came to the alternate screen. ttyOut then wakes the program, and the next frame draws the text under the pictures, for the keys and the selection of the pane.
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.
A rexdiff from the curl script could not update: GitHub kept v0.4.1 as the latest release. GoReleaser publishes the release again after it uploads the files, and without make_latest it sends no "latest" to GitHub. The curl script and the update of a downloaded rexdiff both read releases/latest, so they stayed on v0.4.1.
.goreleaser.ymlnow setsmake_latest: true. v0.4.5 is already marked as the latest by hand.rexdiff updateinstalls the latest release the way the user installed rexdiff (Homebrew, go install, or a download), with the same Updater as the U key of the viewer. A rexdiff that cannot update itself, a build for development or one from Nix, says so.With renderer = "kitty", the pictures wait at least 150 ms for the colours of the terminal, and until then the bare text of Bubble Tea showed, with gaps in the box lines and in other colours. The same happened after the editor. The view now shows no text until the first pictures went out since Bubble Tea came to the alternate screen; ttyOut then wakes the program, and the next frame draws the text under the pictures.
Tested:
go test -race ./.... A build stamped v0.4.1 ranrexdiff updateagainst GitHub and became v0.4.5. The output of the kitty renderer, recorded in a pseudo-terminal, had 142 words of text before the first picture before this change, and none after it. Not seen on a real kitty screen yet, and make_latest is not tried until the next release.